Tuesday, January 18, 2011

How to setup logout time


How to setup logout time(after 2 minutes it should logout automatically)
 
Application: Logout time
Configuration Location: /etc/profile
 
Step :1
Vi /etc/profile
 
add the following line after "Hostfilesize"=
TMOUT = 120 # 2*60secunts.
 
Step :2
You can also set the variable for the user's individual in ".bashrc" file to automatically logout them after a certain time
 
for root user
vi /root/.bashrc
add the following line
TMOUT = 120 # 2*60secunts.

No comments:

Post a Comment