Red Hat Bugzilla – Bug 79989
PAM can't count users - off by one in maxlogins
Last modified: 2015-01-07 19:02:33 EST
Description of problem:
PAM limits maxlogins is off by one
Version-Release number of selected component (if applicable):
Add pam_limits to login
Add a user limit
@* - maxlogins 2
Everyone can log in 3 times.
This is also the case with Red Hat Enterprise Linux version 3
and Red Hat Linux 9
The testing is the same, the logins were via virtual console.
I had the same problem with Red Hat Linux 8.
Actually in the current devel packages it's the other way around. It
allows user to login only maxlogins-1 times.
upstream pam-0.77 fixed it over pam-0.75 but as part of grubb_leak
patch it was 'fixed' once more ;-) FC2 should actually be fine.