RHBA-2015:0453
Pluggable Authentication Modules (PAM) provide a system to set up authentication policies without the need to recompile programs to handle authentication. This update fixes the following bugs: * Previously, the pam_limits module did not verify whether the process that is referenced in the utmp file as being the login process still existed. Consequently, when the user had the maxlogins limit set in the limits.conf file and if the login session process terminated unexpectedly and did not update the utmp file properly, the user could be prevented from access to the system even if some of his previous login session no longer existed due to the crash. With this update, pam_limits tests whether the login process still exists on the system, and the number of existing login sessions is counted more precisely when maxlogin limit is applied by the pam_limits module, thus fixing the bug. (BZ#1080023) * Prior to this update, the pam_unix and pam_pwhistory modules did not properly handle missing fields in the /etc/security/opasswd entries. Consequently, when some of the fields were not present in the user's entry, the password changing process could terminate unexpectedly with a segmentation fault due to NULL dereference. With this update, pam_unix and pam_pwhistory properly handle the missing fields, and the password changing process, such as passwd, no longer crashes in the described scenario. (BZ#1120101) * Previously, the pam_tally2 and pam_faillock utilities used the AUDIT_USER_ACCT audit event type when manipulating the account lock count. As a consequence, the audit records created by these utilities were incorrect. The pam_tally2 and pam_faillock utilities now use the AUDIT_USER_MGMT audit event type in the described situation, and the audit records created by these utilities are now correct. (BZ#1151576) In addition, this update adds the following enhancement: * With this update, audit records generated by the PAM library include a field indicating which PAM modules provided the successful PAM library call result. This feature is particularly needed for common criteria validation of system authentication using the local and remote authentication services. (BZ#1115189) Users of pam are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:18:25.555Z UTC
Upstream Advisory
Affected Packages
pam 1.1.8-12.el7
pam-devel 1.1.8-12.el7