Timeout in SVR3
Doug Gwyn
gwyn at brl-smoke.ARPA
Wed May 4 00:24:08 AEST 1988
In article <2586 at mibte.UUCP> twh at mibte.UUCP (Tim Hitchcock) writes:
>Is there a facility for "timing out" a user process when there is no activity ?
>Is there a SHELL Variable that can be set to cause logging off of a user
>if they are not using their terminal ?
I don't think the TIMEOUT variable is enabled in the SVR3 shell as
distributed, but this is easy to add if you have the source code.
In general you should beware automatic timeout schemes; they cause
problems because there is no sure-fire indicator when automatic
termination would be safe. I frequently have several "idle" processes
running that must NOT be terminated (hint: I use "layers"). If what
you want to do is to force termination on OTHER people, be advised
that eventually they will find ways around your automatic scheme, so
all you end up doing is complicating the system and wasting everyone's
time.
Consider (human) administrative methods of dealing with whatever the
real problem is first.
More information about the Comp.unix.questions
mailing list