[Pam-developers] [linux-pam] #10: The maxlogins limit doesn't work
linux-pam
trac at fedorahosted.org
Fri Jun 22 12:44:02 UTC 2012
#10: The maxlogins limit doesn't work
----------------------+-------------------------------
Reporter: wmknapik | Owner: pam-developers@…
Type: defect | Status: new
Priority: major | Component: modules
Version: 1.1.x | Resolution:
Keywords: maxlogins | Blocked By:
Blocking: |
----------------------+-------------------------------
Comment (by tmraz):
I suppose this is a race condition, that is caused by the fact, that the
maximum logins is enforced during the pam session call but the user
sessions in utmp are established only after the pam session call is
finished. So two simultaneous logins do not see each other. It would be
really hard if not impossible to fix this race.
But we can document this race in the pam_limits manual page.
--
Ticket URL: <https://fedorahosted.org/linux-pam/ticket/10#comment:2>
linux-pam <http://fedorahosted.org/linux-pam>
The Linux-PAM (Pluggable Authentication Modules) project
More information about the Pam-developers
mailing list