From: Garrett D'Amore (garrett@sba70.berkeley.edu)
Date: 05/06/93


From: garrett@sba70.berkeley.edu (Garrett D'Amore)
Subject: Re: Auto logout of idle users?
Date: 7 May 1993 01:26:52 GMT

morley@camousun.bc writes...

>Hi there,
>
>Does anyone know of a utility that will monitor the idle times of logins,
>and automatically disconnect them after a specified time?
>
>morley@camosun.bc.ca

Well, I don't know of a daemon to do that, but there is a way to do this for
users using the tcsh (if they want to comply). The user only need set an
environment variable called "autologout". Check the man pages for tcsh for
details on setting it. (I use "(5 15)".) Hmmm... only one problem, you'll
probably need to recompile tcsh to use shadow passwords. I've not had success
on that line as yet... If you get it done, please let me know. (I've not been
working on it very hard ... too busy getting CS projects done and studying for
finals... :)

Alternatively, for users that don't run tcsh, there is a shell script you can
suggest they run as part of their .profile or .login. The script is given
in the "Unix Guide to System Administration" (I think that's the title.) It's
at the back of the manual as an Appendix, if memory serves. (I don't have a
copy handy... it's a few offices down, and I'm suffering from sloth at the
moment... :)

====================================================================
Garrett D'Amore | garrett@sba70.berkeley.edu
Software Co-Ordinator | 68 Barrows Hall, UC Berkeley
Haas Computing Services | Ph: 510-643-5923 Fax: 642-4769
====================================================================