zhanshen8D 发表于 2011-02-28 23:33

求助: 关于solaris bourne shell 的超时

请问一下,solaris的bourne shell(/bin/sh)的Timeout应该如何设置,如何查看当前值,以及如何查看默认值。
谢谢。

东方蜘蛛 发表于 2011-02-28 23:41

OS版本?登录方式是:ssh/telnet/console?

东方蜘蛛 发表于 2011-02-28 23:46

session idle timeout 在用户的profile中设置.设在/etc/profile则对所有用户有效.

TMOUT=900
export TMOUT
TMOUT单位是秒.不要设置成太小的值,否则还没来得及反应就被drop掉了.
查看 连接IDLE
who -uH

zhanshen8D 发表于 2011-02-28 23:50

回复 3# 东方蜘蛛


    OS版本是solaris 5.10,根据登录方式不同会不一样吗?能不能把三种方式的值都告诉我,谢了。
页: [1]
查看完整版本: 求助: 关于solaris bourne shell 的超时