If you want to set timeouts for user sessions on your Linux machine, you can use the variable TMOUT. You can set a value for TMOUT in bash_profile or bashrc file.
# auto-logout if the shell session is idle for 1 hour
TMOUT=3600
~mohammed
If you want to set timeouts for user sessions on your Linux machine, you can use the variable TMOUT. You can set a value for TMOUT in bash_profile or bashrc file.
# auto-logout if the shell session is idle for 1 hour
TMOUT=3600
~mohammed