[K12OSN] block same login on server

David Trask dtrask at vcs.u52.k12.me.us
Tue Jan 11 01:53:31 UTC 2005

"Support list for opensource software in schools." <k12osn at redhat.com> on
Monday, January 10, 2005 at 12:22 PM +0000 wrote:
>Is there anyway to block repeated logins (it is also a security concern).
>like: - user1
> - user1

You mean you don't want the same user to log in to two workstations?  Or
two people to use the same log in at once?  This is already in place in
K12LTSP....just go to.../opt/ltsp/templates/k12linux   and look at the
scripts...all sorts of nice ones there....run the gdm-kdm-purge-user.sh
script.   Now go to /etc/sysconfig/k12ltsp and set the the key
"PURGE_PROCESSES=YES".  That's it!  You may need to reboot or at least
restart gdm or kdm.  Works great...if a user is logged in somewhere else
and he tries to log in on a workstation...it kills both sessions....then
they can log in regularly.

David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcs.u52.k12.me.us

More information about the K12OSN mailing list