Friday, August 1, 2008

Automatic timeout from Linux Shell after some second of inactivity

Yes this can be done using TMOUT variable in /etc/profile file.
Add the following lines at the end of the file.
TMOUT=600
export TMOUT
This will automatically logout the opened session after 10min (10*60=600sec).

No comments:

Art Auctions starting at $1