Tuesday 16 September 2014

How to set auto-logout time for SSH sessions RHEL

Set auto logout for SSH session.


If you want to set timeout 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

No comments:

Post a Comment

Enable 'HTML Manager'- Apache Tomcat

 Enable 'HTML Manager'- Apache Tomcat Go to Apache-tomcat's home directory and edit the tomcat-users.xml ${apache_home}/conf/tom...