Tag Archives: autologut centos rhel

Setup Autologout on CentOS/RHEL

Scenario: How to setup autologout console and ssh session on CentOS/RHEL
System: CentOS/RHEL 6/7

By default on CentOS/RHEL fresh install system didn’t come with automatically logout, you must manually configure Linux system to automatically log users out after a period of inactivity.

Steps to set up system wide auto logout console and ssh session
1) Log in as root.
2) Create a new script file (to auto logout after 15 minutes),example we create autologout.sh.
Continue reading