On Sat, 30 Mar 2002, Andrew Morgan wrote: > Michael wrote: > > Two q's from me: > > 1) > > pam_limits module appears to be out by one for certain authentication > > methods -- In particular ssh -- Example, if I set maxlogins for a user > > of 1, the user is allowed 2 logins, the third fails. If I set maxlogins > > 0, no logins allowed. I assume someone is aware of it?? > > Indeed, > > http://sourceforge.net/tracker/index.php?func=detail&aid=493294&group_id=6663&atid=106663 As a workaround solution, you might want to list the pam_limits after the pam_(unix|pwdb) session module so that pam_limits will get an updated utmp when it runs - which explains why I did not find this problem in my testing. Cristian -- ---------------------------------------------------------------------- Cristian Gafton -- gafton@redhat.com -- Red Hat, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "There are two kinds of people who never amount to much: those who cannot do what they are told, and those who can do nothing else." --Cyrus Curtis