加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

AIX上报:“Shell will time out in 60 seconds” 解决办法

发布时间:2020-12-15 19:49:59 所属栏目:安全 来源:网络整理
导读:本篇文章主要介绍了"AIX上报:“Shell will time out in 60 seconds” 解决办法",主要涉及到AIX上报:“Shell will time out in 60 seconds” 解决办法方面的内容,对于AIX上报:“Shell will time out in 60 seconds” 解决办法感兴趣的同学可以参考一下。

本篇文章主要介绍了"AIX上报:“Shell will time out in 60 seconds” 解决办法",主要涉及到AIX上报:“Shell will time out in 60 seconds” 解决办法方面的内容,对于AIX上报:“Shell will time out in 60 seconds” 解决办法感兴趣的同学可以参考一下。

原因:

AIX上环境变量TMOUT 定义:Automatic logout include in export line of uncommented.

例如:设置该环境变量:TMOUT=10,则用户登录之后,操作系统检测该用户10秒钟没有输入任何命令,则弹出字符串“Shell will time out in 60 seconds”提醒用户。如果在60秒之内用户还是没有输入,则系统强制退出该登录SHELL。

解决:

用户登录调用环境文件顺序:/etc/profile /etc/environment 和$HOME/.profile 文件。查找$HOME/.profile和/etc/profile文件中是否存在环境变量TMOUT 的设置,存在则注释。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读