[QUOTE]Originally posted by Michaelm8000:
<strong>I have not seen it. Is it in there but I just do not knwo it? This is a big feature all MultiUser OS's Should have. I hope it is in there or is coming soon!
<a href="
http://homepage.mac.com/mikesicons/Menu3.html" target="_blank">

</a></strong>[/QU OTE]
The following script will do it.
Name the script file "login_killer.command" and add it to the "Login Items" for each user of the machine.
#!/bin/sh
# login_killer.command [seconds]
# Log user out after 'seconds' if specified otherwise in 900 secs.
#
LOL=${1-900}
PID=`/bin/ps -aux | grep 'loginwindow console' | grep -v grep | awk '{print $2}'`
sleep $LOL
/bin/kill $PID
exit 0
This feature is somewhat unforgiving. Do you really want to terminate logged in users after some arbitrary time as given here. I presume not, and that what you really want is to log out a user if the session has been idle for some period of time.
This is a little more difficult but not impossible to do.