From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,5fc457ba52cddbbb X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-09-07 08:52:11 PST Newsgroups: comp.unix.osf.misc Path: nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!EU.net!uunet!world!dsb From: dsb@world.std.com (David Boyce) Subject: Re: [Q] OSF/1 autologout implementation ? In-Reply-To: rdumont@hawk.anselm.edu's message of 31 Aug 1994 13:38:16 -0400 Message-ID: Sender: dsb@world.std.com (David Boyce) Organization: The World References: <342f68$4cm@hawk.anselm.edu> Date: Wed, 7 Sep 1994 05:32:40 GMT In article <342f68$4cm@hawk.anselm.edu> rdumont@hawk.anselm.edu (Ron Dumont) writes: > Has anyone found a good autologout script or program that > runs on OSF/1? > > The ideal would be something that searches for idle users > (initiated by cron) vs. a program that is run within a > login script that times users and kills all associated > processes after a specified inactivity setting (i.e. tout). > > Thanks in advance. If you add the line export TMOUT=1800 # thirty minutes (30 * 60) to /etc/profile, all ksh users will be logged out automatically after 30 minutes (or whatever period you specify) of inactivity. The csh and sh do not have this capability, though csh can be replaced with tcsh which does ("set autologout=30"). These solutions do not require a separate process at all. -- David Boyce dsb@world.std.com 508-370-7375