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).
Friday, August 1, 2008
Automatic timeout from Linux Shell after some second of inactivity
Labels:
Fedora,
Linux Shell
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment