Steve Dibb kirjoitti:

Is there an easy way to kill a user's X session that is logged into the server? Something like `kill-session joebob`

Here are some scripts for LTSP - A Computer Lab with No Windows, Part I and II

"How to Monitor and Stop a User":

http://www.linuxjournal.com/article/7419

#!/bin/sh
# stop
# script to logoff a student
#
if [ $1 != "root" ]
then
   for i in $(pgrep -u $1)
   do
      kill -9 $i
   done
else
   clear
   echo "Can't kill the root!!"
fi

Best Regards Asmo Koskinen
--
http://fi.openoffice.org/ :: http://openoffice-fi.sf.net/
http://www.lemi.fi/oo2-soikko/ :: http://hunspell-fi.org/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_____________________________________________________________________
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.freenode.net

Reply via email to