[aix]求助 如何设置来取消定时重新登录?

[复制链接]
查看11 | 回复9 | 2002-11-14 13:31:00 | 显示全部楼层 |阅读模式
本人由于工作需要刚刚开始学习unix操作系统.单位的一台IBM RS6000 的小型机(操作系统为AIX 4.3)每隔几秒钟就要求重新登录,即使在进行操作的时候也是如此,不知道该如何设置才能避免这种情况,请各位高手给予指点,在此先谢谢各位!
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
/etc/profile文件里有TMOUT参数的那一行用#注释掉
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
/etc/profile文件里有TMOUT参数的那一行用#注释掉
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
版主大人,那个profile 如下,其中有TMOUT 的那一行本来就已经用#注掉了的啊.我看了一下,还是不知道如何解决!请再赐教.
@(#)271.20src/bos/etc/profile/profile, cmdsh, bos430, 9737A_430 8/9/
94 12:01:38
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos430 src/bos/etc/profile/profile 1.20
#
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDSH) Shell related commands
#
# FUNCTIONS:
#
# ORIGINS: 3, 26, 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
################################################################
# System wide profile.All variables set here may be overridden by
# a user's personal .profile file in their $HOME directory.However,
# all commands here will be executed at login regardless.
trap "" 1 2 3
readonly LOGNAME
# Automatic logout, include in export line if uncommented
# TMOUT=120
# The MAILMSG will be printed by the shell every MAILCHECK seconds
# (default 600) if there is mail in the MAIL system mailbox.
MAIL=/usr/spool/mail/$LOGNAME
MAILMSG="[YOU HAVE NEW MAIL]"
# If termdef command returns terminal type (i.e. a non NULL value),
# set TERM to the returned value, else set TERM to default lft.
TERM_DEFAULT=lft
TERM=`termdef`
TERM=${TERM:-$TERM_DEFAULT}
# If LC_MESSAGES is set to "C@lft" and TERM is not set to "lft",
# unset LC_MESSAGES.
if [ "$LC_MESSAGES" = "C@lft" -a "$TERM" != "lft" ]
then
unset LC_MESSAGES
fi
export LOGNAME MAIL MAILMSG TERM
trap 1 2 3
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
把用户下面的.profile贴上来吧。
是在操作中也退出来吗?如果是的话可能不是TMOUT参数的作用。
所有的用户都这样吗?
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
该小型机有一个管理员用户root,还有一个oralce数据库用户ora,不管用哪个用户登录都是这样的,在操作中也要退出来,ora 下的profile 我没找到,不知放在哪个目录下面?
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
是不是网络出了问题?
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
那就试一下把.profile中的TMOUT打开,过一段时间看一看如何
然后再屏蔽
另,看一下是不是屏保问题(不像)
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
查看/etc/security/login.cfg文件中的logintimes=
如果付值,给予清空,是定义用户使用端口登陆时间。
回复

使用道具 举报

千问 | 2002-11-14 13:31:00 | 显示全部楼层
我也不知道是怎么解决的,今天重启了一遍就好了(以前却不行,真怪)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行