1)#vi /etc/default/login
TIMEOUT=30
don't work at all
2)#vi /.profile
TMOUT=30
works only on "bash" shell
# bash
bash-2.03# echo $TMOUT
30
bash-2.03# timed out waiting for input: auto-logout
#
WHile on "sh" shell
# echo $TMOUT
30
#
***It never logout after 30 secs.
It is the same on telnet&console
/sbin/sh don't support TMOUT?
thanks!
TIMEOUT=30
don't work at all
2)#vi /.profile
TMOUT=30
works only on "bash" shell
# bash
bash-2.03# echo $TMOUT
30
bash-2.03# timed out waiting for input: auto-logout
#
WHile on "sh" shell
# echo $TMOUT
30
#
***It never logout after 30 secs.
It is the same on telnet&console
/sbin/sh don't support TMOUT?
thanks!