Reese Knowledgebase

Enable automatic logoff

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 89
by: Reese K.
Posted: 01 Feb, 2013
Last updated: 01 Feb, 2013
Views: 1591

Enabling automatic logoff

Let's face it.  Sometimes admins leave themselves logged into a system and walk away.  Systems can be set to automatically logoff a user after a period of activity by setting some parameters in /etc/profile (Linux/Solaris), /etc/security/.profile (AIX).

Append the following to the system profile:

#Enable automatic logoff
TMOUT=600
TIMEOUT=600
readonly TMOUT TIMEOUT
export TMOUT TIMEOUT

Set readonly to prevent the variables from being overwritten.

This article was:   Helpful | Not Helpful
Also listed in
folder UNIX -> Linux

Prev   Next
Advanced techniques for using the UNIX find command     How to disable cron from sending email alerts

RSS