[lug] autologout

Nate Duehr nate at natetech.com
Fri Feb 16 11:52:32 MST 2001


On Fri, Feb 16, 2001 at 06:30:45AM -0700, B O'Fallon wrote:
> "D. Stimits" wrote:
> 
> >  find /etc/X11 -type f -exec grep -i logout {} \; -print -> Nothing at all.
> > I also used various versions of "logout", such as
> > "Logout", "LogOut", "LOGOUT", so on. :(
> >
> 
> The file /etc/profile can have a line in it "TMOUT= period in seconds" that
> will apply to everyone if set there (it a good trick for security), or it can
> be placed in each user's home directory initialization files if individual
> timeout periods are desired. It kicks in after the time interval to log out
> the user. May you could look for TMOUT (and variations) with find in your
> etc/X11 directories?

I assume this works for bash, do other shells follow the same
convention?  Or is this not implemented by the shell at all and is
actually an X thing?

-- 
Nate Duehr <nate at natetech.com>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.



More information about the LUG mailing list