1748027 Members
4906 Online
108757 Solutions
New Discussion юеВ

Re: csh auto-logout

 
SOLVED
Go to solution
Matt Shaffer_1
Regular Advisor

csh auto-logout

go from bash to csh. if session sits for a while I get an auto-logout message and kicked back to bash. I can't find where to set or unset this in any hidden files in the home dir.
5 REPLIES 5
TTr
Honored Contributor
Solution

Re: csh auto-logout

set autologout=NNNN

NNNN is the number of seconds.
If NNNN is 0 (zero) autologout is disabled.
Matt Shaffer_1
Regular Advisor

Re: csh auto-logout

Thanks. If I want this to happen ever time I login, what .xxx file should I add it to? .cshrc or something?
skt_skt
Honored Contributor

Re: csh auto-logout

yes

Default user .cshrc file (/usr/bin/csh initialization).
Safarali
Valued Contributor

Re: csh auto-logout


Hi Matt for time out cshell use the following method

set autologout=1 (for one minute)
unset autologout in csh.login for all the user to disable autologout

Environment Variable C shell
set env DISPLAY=hostname :0.0 .login
set command will display variable

Regards
Safar
Matt Shaffer_1
Regular Advisor

Re: csh auto-logout

.