tmout
-
如何配置用户会话超时 TMOUT环境变量设置



配置用户会话超时主要通过设置tmout环境变量实现,1. 针对单个用户,在~/.bashrc中添加export tmout=300并执行source ~/.bashrc使其生效;2. 针对所有用户,推荐在/etc/profile.d/timeout.sh中设置export tmout=300并添加r…



配置用户会话超时主要通过设置tmout环境变量实现,1. 针对单个用户,在~/.bashrc中添加export tmout=300并执行source ~/.bashrc使其生效;2. 针对所有用户,推荐在/etc/profile.d/timeout.sh中设置export tmout=300并添加r…