Re: User Time-outs (62 Views)
Reply
Super Advisor
Darren Etheridge_2
Posts: 314
Registered: ‎08-05-1999
Message 1 of 3 (65 Views)

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 :)
Honored Contributor
Tom Danzig
Posts: 642
Registered: ‎12-20-1999
Message 2 of 3 (62 Views)

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.
Honored Contributor
Victor BERRIDGE
Posts: 2,576
Registered: ‎07-10-2000
Message 3 of 3 (62 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.