Operating System - Tru64 Unix
1752577 Members
3948 Online
108788 Solutions
New Discussion юеВ

Re: User logout automatically

 
Rajib_1
Advisor

User logout automatically

Hi All

after i was restart the server DS20 ( TRU64 4.0F) , some user are automatically logout after 3-4 min , if the user is not using the session. Can any body help where is the settings are there for this ....

Thanks and Regards
Rajib
Don't cry because it's over, smile because it happened
6 REPLIES 6
hy_4
Advisor

Re: User logout automatically

Please check the file of the user's .profile,there is a variabel named 'TMOUT',comment it.
Michael Schulte zur Sur
Honored Contributor

Re: User logout automatically

Hi Rajib,

hy is right. See man ksh or whatever shell you use. You can see the value for timeout wirh set | grep TMOUT.

greetings,

Michael
Ross Minkov
Esteemed Contributor

Re: User logout automatically

You forgot to tell us what shell these users are using. Depending on the user's default shell the files and variables are different. For example for csh & tcsh users you can set "set autologout = 10080" in /etc/csh.cshrc file. The above sets autologout to 7 days exactly. After 7 days of idle time a user's session will be automatically logged out. The same could be done also on per user basis in user's dot files in his/her home directory

HTH,
Ross
Michael Schulte zur Sur
Honored Contributor

Re: User logout automatically

Ross,

does this also work for the graphic console login? Does it end the session or just the shell?

greetings,

Michael
Ross Minkov
Esteemed Contributor

Re: User logout automatically

Michael,

It works the same as setting TMOUT in say /etc/profile for shells that use /etc/profile (sh, bash, ksh, etc). It will log the user(s) out after the idle time set is reached.

Regards,
Ross

Rajib_1
Advisor

Re: User logout automatically

Thanks to everyone.

Problem was solved after killing some user manuall process.

thanks
Don't cry because it's over, smile because it happened