May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

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.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>