Need a timeout device SVR3.x
Leslie Mikesell
les at chinet.chi.il.us
Thu May 11 07:57:28 AEST 1989
In article <10226 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>In article <170 at attibr.UUCP> rjd at attibr.UUCP (Robert J. Diamond x7650) writes:
>>We have a problem. We need to time out inactive users on our 3b2's,
>>... Any ideas/solutions?
>
>I suggest you reconsider. Why is it so important that users press
>a key every so often? Surely there must be applications where that
>would be a silly requirement.
>
>What is your real requirement? A "need to time out users" is not
>an end in itself.
How about this situation:
The ports are dial-up, and mostly inbound wats lines, the users are
calling in to pick up frequently updated files. There are >1000
login id's and about 8 inbound lines.
My solution was to use a login shell that just accepts their requests
and hands out the files unless they ask for a menu of other choices.
A separate process is forked off which periodically stat's the tty
line checking for a maximum idle time and total on-line time mentioned
in the comment field of their passwd file entry. They mostly don't have
permission to write files or a home directory, either. If either time
expires, the other process forces the line to drop.
Les Mikesell
More information about the Comp.unix.questions
mailing list