How to set up Linux user login timeout (idle time) vi / etc / profile ... export TMOUT = 900

How to set up Linux user login timeout (idle time)

 

1. for all users

VI # / etc / Profile 
... 
Export the TMOUT = 900 # Set the idle time of 15 minutes, seconds; if this line is not directly added to it 
...
vi /etc/profile

TMOUT=18000000000000
export QT_IM_MODULE=fcitx
readonly TMOUT
export TMOUT

Guess you like

Origin www.cnblogs.com/xuanbjut/p/12614861.html