Vahid Ghafarpour's Blog

نكات جالب از نظر وحيد غفارپور!

Saturday, September 1, 2007

idle login sessions

If you want to logout idle sessions you can set TMOUT session vairable in bash environment in seconds:
for exampl
sudo vim /etc/bash.bashrc
add this line
TMOUT=3600

this configuration will logout every idle session after 1 hour

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home