On Thu, 19 Sep 2002, Delz wrote: > Hi, > > I'm using Redhat 7.2 and I'm having some problems with users limiting > maximum logins to only 1 using LTSP. I have configured > /etc/security/limits.conf to use the following : > > user1 hard maxlogins 1 > user1 hard rss 30000 > user1 hard nproc 100 > > and I've tried using telnet and ssh to login to the server and it's working, > it doesn't allow another session when there's an active login session > present using the same username. But booting from a floppy then logging in > using X, it doesn't restrict the login session to only one & I'm still able > to login using the same username from another workstation. Anyone who has an > idea on how to go about this? Hoping for your help....... > > Regards, > > Delz
*** Delz, cd /etc/pam.d edit the xdm file (or kdm or gdm depending on what you are using) add the following line: session required /lib/security/pam_limits.so where you put it counts. Place it just before the FIRST session line you see. That should do it. > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.openprojects.net > ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net
