Date: Thu, 2 Feb 1995 20:39:26 -0500 (EST) From: "Jonathan M. Bresler" <jmb@kryten.atinc.com> To: Jaye Mathisen <osyjm@schizo.coe.montana.edu> Cc: Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>, Jaye Mathisen <osyjm@schizo.coe.montana.edu>, Ollivier ROBERT <roberto@blaise.ibp.fr>, Guido van Rooij <guido@gvr.win.tue.nl>, FreeBSD-hackers@freefall.cdrom.com Subject: Re: limits (again) Message-ID: <Pine.3.89.9502022003.B5724-0100000@kryten.atinc.com> In-Reply-To: <9502030002.AA17625@schizo.coe.montana.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Feb 1995, Jaye Mathisen wrote: > Well, the stuff in the pwdb seems useful at logon, it looks harder to > make use of it constantly. ie, it's fine if they login before 5pm, but > when 5pm rolls around, I want their jobs killed, and them booted. That > looks easier in the kernel as opposed to login and some daemon. take a look at ftp://kryten.atinc.com/pub/unix/untamo3.gz it will log people off after a given period of inactivity. it runs as a daemon. adding code to logout users after 5pm should be trivial. here's the README Untamo is a locally developed daemon which periodically wakes up and logs off idle terminals; it also can deal with multiply-logged in users. It is configurable without recompilation, and features tunable parameters such as maximum allowed idle time, maximum allowable multiple logins, exemption lists, and so on. (Note: session limits do not work at the moment.) We use this program to ensure availability of one of our scarcer resources: terminals. Others may find it useful for different reasons; preventing users from leaving a terminal logged-in and unattended for hours is probably a reasonable security measure. The original posting caused a deluge of mail, as the sources contained references to local include files. This has been fixed by #ifdef'ing the code which applies only locally. This version has been successfully compiled on a Sequent Balance 21000 running Dynix v2.0.6, a CCI 6/32 running 4.3bsd, a DEC VAX-8600 running 4.3bsd, a Gould PowerNode 9080 Running UTX-32 Release 1.3, and and a VAX-11/780 running 4.2bsd. Please address correspondence concerning untamo to "doc" on this machine; the original author has left Purdue, but Craig Norborg (aka "doc") is reasonably familiar with the program. -- Rich Kulawiec, pucc-j!rsk, rsk@j.cc.purdue.edu, rsk@purdue-asc.arpa Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9502022003.B5724-0100000>