Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!acd!fredrick From: fredrick@acd.uucp (Tim Fredrick) Newsgroups: comp.unix.aix Subject: Re: Is there a way to logout an inactive user after nn minutes? Message-ID: <11426@ncar.ucar.edu> Date: 15 May 91 21:19:24 GMT References: <11395@ncar.ucar.edu> <1991May13.193550.22502@midway.uchicago.edu> <1991May14.213500.6113@casbah.acns.nwu.edu> Sender: news@ncar.ucar.edu Organization: NCAR/Atmospheric Chemistry Division Lines: 23 >> In the ksh, there is an environment variable, TMOUT, which specifies the >> number of minutes the shell will wait inactive before exiting. If you >> were to set this in /etc/profile, all ksh users would be handled. I don't >> know if the csh has a similar construct. > >It does. Setting autologout variable will cause the shell to log >itself out after a certain period of idle time. For example, > > set autologout=30 I tried putting this in my own .cshrc file and I didn't get logged out after 30 minutes of inactivity. Is there some other file that this command goes into? Is there some daemon that needs to be running? And a more general question -- is there a file that will set up environment variables and/or aliases for any user logging in? Thanks -Tim Fredrick