Logout automatically
- カテゴリ:
- Linux
It is not recommended that you lease from your PC without logout If you would like to logout automatically, use TMOUT.
This is an example of it. After 300 secondes, bash finish automatically.
$ cat ~/.bashrc
export TMOUT=300
If you write it in a file /etc/profile, all users will be affected.
コメント