Autologout of unused terminals

Dennis L. Mumaugh dlm at cuuxb.ATT.COM
Thu Dec 8 08:18:45 AEST 1988


In article <3603 at jpl-devvax.JPL.NASA.GOV> lwall at jpl-devvax.JPL.NASA.GOV (Larry Wall) writes:
>Not only that, but idle-killers are so easy to spoof, unless you disable
>people from executing utime() or ioctl().
>

Try the following short script:

	while :
	do
		touch `tty`
		sleep 600
	done &

Other more sophisticated scripts can be done.  Most shells have a
time  out  but  that can be eliminated by people getting into the
habit of hitting <RETURN> once in a while.

The neatest special program is the  630MTG  program  dmdlock.  If
the  terminal  has  no  user  activity - mouse or keyboard - in a
given time period, the terminal locks itself and 15 minutes later
the  screen  blanks.  One has to then unlock the terminal.  Hence
walking  away  from  the  630MTG  results  in  auto-locking   the
terminal.

-- 
=Dennis L. Mumaugh
 Lisle, IL       ...!{att,lll-crg}!cuuxb!dlm  OR cuuxb!dlm at arpa.att.com



More information about the Comp.unix.wizards mailing list