PDA

View Full Version : Dumb question re: auto logout



ChrisYip
03-03-2002, 06:20 PM
Hi all

This is a dumb question but I'll toss it out there - How can I set up OS X to log someone out after xxx minutes of inactivity - I can certainly use the Energy Saver to pop up the password protected screen saver but that password is for the current user only. I'm sure there's a way in unix to do this, I think our IRIX machines did this automatically but I can't seem to find it.. i'd like to prevent people from working under someone else's account and trying to convince people to "log out" each time doesn't really work...

Chris

ricks
03-04-2002, 01:04 AM
I passed this one on, hope we get a good answer. I can REALLY see where this would help you.

Rick

ChrisYip
03-04-2002, 03:01 AM
Thanks Rick

Chris

ricks
03-04-2002, 04:18 PM
Hey Chris,

Got an answer back, not what you might want to hear though.
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>
As far as I know, there is no automatic logout facility for users logged
into the WindowManager (that is, at the main keyboard/monitor). Thinking
about the number of applications which might be running and the prompts to
be issued for saving work in progress, it may actually be for the best,
however inconvenient in a University setting.

The only autologout functions I know of for certain are in the shells
for teminal sessions (connections via rlogin, telnet, ssh, rsh, and the
Terminal app).

In the man page for tcsh(1), look for the autologout environment variable
definition. For sh(1), a.k.a. zsh(1), see the TMOUT environment variable.
This is *probably* what Chris is remembering from IRIX and other Unix OSes.
<HR></BLOCKQUOTE>

Rick

ChrisYip
03-04-2002, 09:21 PM
Thanks - that's annoying but we'll work around it - right now it's set to drop into a screen saver password so if you aren't the current user, then the machine is locked out.. same as Win2K does ;-)..

Chris