how to autologout from server
Hi there
I'm wondering how to let him logout automatically from server when the user is in idle for a long time after login. Thanks in advance. |
In order to logout from a terminal or a console, you can try to set the TMOUT variable. This is valid for both BASH and KSH with a slightly different behaviour (I don't know for other shells). For example, if you want to set a timeout of 15 minutes for all the users, you can add the following to /etc/profile:
Code:
export TMOUT=900 |
All times are GMT -5. The time now is 02:44 AM. |