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