Re: Idle session logout

Luis M <[email protected]>
Newsgroups gmane.comp.security.linux
Organization LatinoMixed.com
Message-ID <1098511989.4729.9.camel@tuxy>
On Thu, 2004-10-21 at 16:04 -0600, Ben Nelson wrote:
> So, my question:
> What are people using these days to log idle users out of their systems?

For shells that read /etc/profile (like bash, ksh, sh) append:
TMOUT=N
export TMOUT

(In Debian you can get away by putting TMOUT=N in /etc/environment).

If you use csh, tcsh, or any in the *csh family, then
edit /etc/csh.cshrc and add:

set autologout = 15

(if you google for it, you'll find many answers)

--
----)(----- 
Luis M 
System Administrator 
LatinoMixed.com 

[email protected] 
This dungeon is owned and operated by Frobozz Magic Co., Ltd. 

http://www.latinomixed.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.