Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux 7에서 'enforce_for_root' 옵션이 예상대로 작동하지 않음

Solution In Progress - Updated -

Issue

  • RHEL 7에서 root 사용자에게 암호 정책/복잡성 요구 사항을 적용할 수 있는 방법이 있습니까?
  • RHEL 7에서 enforce_for_root 옵션이 인식되지 않습니다.
  • RHEL 7에서 enforce_for_root 옵션이 예상대로 작동하지 않으며, /var/log/secure에서 다음 오류가 발생합니다.
Nov  9 00:37:05 rhel7 passwd: pam_pwquality(passwd:chauthtok): Reading pwquality configuration file failed: Unknown setting - mindiff
Nov  9 00:37:05 rhel7 passwd: pam_pwquality(passwd:chauthtok): pam_parse: unknown or broken option; enforce-for-root
Nov  9 00:37:05 rhel7 passwd: pam_pwquality(passwd:chauthtok): pam_parse: unknown or broken option; remember=12
Nov  9 00:37:05 rhel7 passwd: pam_pwquality(passwd:chauthtok): Reading pwquality configuration file failed: Unknown setting - mindiff
Nov  9 00:37:05 rhel7 passwd: pam_pwquality(passwd:chauthtok): pam_parse: unknown or broken option; enforce-for-root
  • su -을 수행할 수 없으며 다음 오류가 발생합니다.
$ su - user
su: Permission denied

Environment

  • Red Hat Enterprise Linux 7
  • libpwquality
  • PAM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content