Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Time-outs

Darren Etheridge_2
Super Advisor

User Time-outs

Is there a way to assign user time-outs for users that stay idle for hours at a time? I am in a Informix enviornment and would like to auto logout any users that are using our INQUIRE ONLY logins after an hour or so.
Thanks for your time :)
2 REPLIES
Tom Danzig
Honored Contributor

Re: User Time-outs

If by chance your're using csh, you can specify an amount of time an idle user will be automatically logged out:

set autologout=60

This would auto logout a user if idle for one hour.
Victor BERRIDGE
Honored Contributor

Re: User Time-outs

You can set in .profile for KSH or /etc/profile for all users (using ksh, Im not sure for the other shells..) the var TMOUT
TMOUT=3600
export TMOUT
would logout after an hour
But if the user is in a session of something that could be: man ls, or more afile etc...
Then your attempt will fail

Good luck
Victor