Linux bash shell allows you to define the TMOUT environment variable. Set TMOUT to automatically log users out after a period of inactivity. The value is defined in seconds. For example,
Read full article from Linux: TMOUT To Automatically Log Users Out
export TMOUT=120To disable auto-logout, just set the TMOUT to zero or unset it as follows:
$ export TMOUT=0
or$ unset TMOUT
Read full article from Linux: TMOUT To Automatically Log Users Out
No comments:
Post a Comment