'enforce_for_root' option is not working as expected on Red Hat Enterprise Linux 7
Issue
- Is there a way to enforce the password policy/complexity on root user in RHEL7?
enforce_for_rootoption isn't recognized/identified in RHEL7.enforce_for_rootoption isn't working as expected in RHEL7, getting following error in/var/log/secure:
Oct 17 13:49:33 rhel7 passwd: pam_pwquality(passwd:chauthtok): Reading pwquality configuration file failed: Unknown setting - enforce_for_root
Environment
- Red Hat Enterprise Linux 7
- libpwquality
- PAM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
