就像这个环境变量名字所显示的那样:
TMOUT = Time Out
通过该环境变量,你能够控制用户连入终端的session最大时长,超过配额会自动登出(auto-logout)
下面是一个样例演示:

你可以看到,当前用户“adamhuan”的环境变量TMOUT的设置为:5.
等待5秒后,你会被自动登出,如下所示:

——————————————————————————
Ending。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装