[techtalk] timing out an inactive user

Jeff Frasca phaedrus at thereactor.cleptoscastle.com
Sun May 28 11:28:33 EST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 27 May 2000, gabrielle wrote:

> I have a question for which I've not been able to find the answer.  I'd like
> to kick users off my linux box after they've been inactive for a certain
> period of time.
> 
> On Solaris, the following lines are in /etc/default/login:
> # TIMEOUT sets the number of seconds (between 0 and 900) to wait before
> # abandoning a login session.
> #
> TIMEOUT=300

It doesn't look like the linux version of Login handles this.  However,
tcsh supports an autologout feature.  You set the shell variable
`autologout' to the number of minutes of inactivity you want a user to
be booted.  There is one drawback to this, a user can simply reset the
variable and the inactivity limit goes away.

Jeff

My Geekcode has moved to my .plan file.
finger phaedrus at 24.5.73.229 for that and other Junk

My Public Key -- http://24.5.73.229/pubkey.txt 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75

iD8DBQE5MWVW7sVCtrzVTMERAubdAJ9/KiBK9wwElZBaYNE2yxDTL67ZrgCfQdmV
tCUoHoNa5zA9YoyyQwpQJ68=
=g2LI
-----END PGP SIGNATURE-----







More information about the Techtalk mailing list