Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel_system_auth.j2 is still using pam_passwdqc.so for CentOS 7 #98

Closed
ghost opened this issue Sep 25, 2016 · 1 comment · Fixed by #101
Closed

rhel_system_auth.j2 is still using pam_passwdqc.so for CentOS 7 #98

ghost opened this issue Sep 25, 2016 · 1 comment · Fixed by #101
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Sep 25, 2016

Sep 25 13:04:18 VH07 sudoedit[19076]: PAM unable to dlopen(/usr/lib64/security/pam_passwdqc.so): /usr/lib64/security/pam_passwdqc.so: cannot open shared object file: No such file or directory
Sep 25 13:04:18 VH07 sudoedit[19076]: PAM adding faulty module: /usr/lib64/security/pam_passwdqc.so

The /templates/rhel_system_auth.j2 is still referring to pam_passwdqc , which is no longer available in CentOS >7. This breaks some things like passwd.

Currently I'm setting set os_auth_pam_passwdqc_enable to false.
A more permanent solution could be using password required pam_pwquality.so retry=3 and creating /etc/security/pwquality.conf as suggested in the
RHEL 7 Security Guide

This issue will probably apply on other *-os-hardening, although I can't verify this.

@ghost ghost changed the title CentOS 7 is using pam_passwdqc.so rhel_system_auth.j2 is still using pam_passwdqc.so for CentOS 7 Sep 25, 2016
@rndmh3ro rndmh3ro added the bug label Sep 25, 2016
@rndmh3ro rndmh3ro self-assigned this Sep 25, 2016
@rndmh3ro
Copy link
Member

Hi @shirokatze, thanks for reporting this!
We actually install pam_pwquality on RHEL7 but do not set the correct configuration.
I'll fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant