Newsgroups: comp.unix.aix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!casbah.acns.nwu.edu!wargaski From: wargaski@casbah.acns.nwu.edu (Robert E. Wargaski Jr.) Subject: Re: Is there a way to logout an inactive user after nn minutes? Message-ID: <1991May14.213500.6113@casbah.acns.nwu.edu> Sender: news@casbah.acns.nwu.edu (Mr. News) Nntp-Posting-Host: casbah.acns.nwu.edu Reply-To: r-wargaski@nwu.edu Organization: ACNS DSS, Northwestern University, Evanston, IL References: <11395@ncar.ucar.edu> <1991May13.193550.22502@midway.uchicago.edu> Date: Tue, 14 May 1991 21:35:00 GMT Lines: 21 mjrx@ellis.uchicago.edu (Marty Ryan) writes: |> |> 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 will log you out after thirty minutes of idle time. Rob -- Rob Wargaski r-wargaski@nwu.edu Colby is good. ACNS DSS, Northwestern University