Brad Tilley wrote: > I created the file /etc/profile to force sh and ksh to logout users > after a certain period of idleness: > > $ cat /etc/profile > > # Force sh and ksh to logout idle users after 15 minutes > # Prevent normal users from disabling this setting > readonly TMOUT=900 > export TMOUT > > That works great. I've tried to do the same to the other default shell > in base (csh). I added 'set autologout=15' to /etc/csh.cshrc and then to > /etc/csh.login as well (I'm turning knobs like a good clueless user). > > I then read the csh man page, but saw no mention of autologout. Perhaps > the OpenBSD version of csh does not support this? Is there a way to do > this with csh? If not, I'll need to remove access to the shell.
Replying to myself. I can't seem to make csh auto logout inactive users. So I did this: rm /bin/csh cp /bin/ksh /bin/csh Any good reason to not do this? Brad