[Bug 977313] Re: Too many logins - sessions not cleared
Steve Langasek
steve.langasek at canonical.com
Mon Apr 9 18:21:22 UTC 2012
pam_limits only checks the contents of utmp to count logins, it doesn't
write login entries to the file. If openssh is failing to clean up its
login records, that's an openssh issue.
** Package changed: pam (Ubuntu) => openssh (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/977313
Title:
Too many logins - sessions not cleared
Status in “openssh” package in Ubuntu:
New
Bug description:
Ubuntu 11.10 server example:
When I configure user ice to allow only 3 logins logged out SSH
sessions are not being cleared.
/etc/security/limits.conf
ice hard maxlogins 3
The user ice can login and logout many times without problem but if
they login 3 times and hit the maxlogins limit then logout of all
sessions the user can't log back in again even though there are zero
logged in sessions.
/var/log/auth.log
pam_unix(sshd:session): session opened for user ice by (uid=0)
pam_limits(sshd:session): Too many logins (max 3) for ice
PAM reports too many logins even though the user ice has no current
logins.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/977313/+subscriptions
More information about the foundations-bugs
mailing list