CentOS7设置登录超时时间
文章目录
检查/etc/profile文件中有无TMOUT环境变量设置。 例如:export TMOUT=600,其中600表示超过600秒无操作即断开连接
#vi /etc/profile
刷新profile
#source /etc/profile
检查/etc/profile文件中有无TMOUT环境变量设置。 例如:export TMOUT=600,其中600表示超过600秒无操作即断开连接
#vi /etc/profile
刷新profile
#source /etc/profile
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论