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.
Recent Comments