
This patch adds tasks to disallow logins from accounts with null or blank passwords. Implements: blueprint security-rhel7-stig Change-Id: Icc5fd167be93bff9946810a17d8ef5521653d648
546 B
546 B
---id: RHEL-07-010260 status: implemented tag: auth ---
The Ansible tasks will ensure that PAM is configured to disallow logins from accounts with null or blank passwords. This involves removing a single option from one of the PAM configuration files:
- CentOS or RHEL: removes
nullok
from/etc/pam.d/system-auth
- Ubuntu: removes
nullok_secure
from/etc/pam.d/common-auth
Deployers can opt-out of this change by setting the following Ansible variable:
security_disallow_blank_password_login: no