Auto log-out shell after idle time

PDF

It is possible to configure BASH to log-out a user automatically after a certain idle-time. This can be done by appending the seconds in TMOUT variable in the bash start-up script.

Append the seconds in your BASH startup script (~/.bashrc)

 

export TMOUT=600

 

 

Please login first before adding a comment.

Search






You are here: Home Howtos and FAQs Bash Auto log-out shell after idle time