'authselect check' または 'authselect apply-changes' コマンドで "[error] Unexpected changes to the configuration were detected" と表示される
Issue
- /etc/pam.d/password-auth または /etc/pam.d/system-auth に対して手動で変更を加えると、'authselect apply-changes' で以下のエラーが発生します。
#authselect apply-changes
[error] [/etc/authselect/system-auth] has unexpected content!
[error] [/etc/authselect/password-auth] has unexpected content!
[error] Unexpected changes to the configuration were detected.
[error] Refusing to activate profile unless those changes are removed or overwrite is requested.
Some unexpected changes to the configuration were detected. Use 'select' command instead.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- authselect
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.