UNIX daemon for limiting user time on the machine.
Go to file
Clark Rawlins cde92985ae Switch from dh_clean -k to dh_prep
dh_clean -k is deprecated. Switch to the supported dh_clean
instead.

Signed-off-by: Clark Rawlins <clark@bit63.org>
2014-12-14 10:35:22 -08:00
debian Switch from dh_clean -k to dh_prep 2014-12-14 10:35:22 -08:00
.gitignore Ignore files generated by building debian package 2014-12-14 09:21:27 -08:00
dump_wtmp.c Imported Upstream version 1.5 2009-01-04 23:11:58 -07:00
Makefile Ignore warnings on unused return values 2014-12-14 09:53:14 -08:00
README Imported Debian patch 1.5-10.1 2009-01-04 23:11:59 -07:00
timeoutd.8 Imported Debian patch 1.5-10.1 2009-01-04 23:11:59 -07:00
timeoutd.c Use a temp to convert ut_time to time_t 2014-12-14 10:29:17 -08:00
timeouts Imported Debian patch 1.5-10.1 2009-01-04 23:11:59 -07:00
timeouts.5 Imported Debian patch 1.5-10.1 2009-01-04 23:11:59 -07:00
VERSION Imported Upstream version 1.5 2009-01-04 23:11:58 -07:00

TIMEOUTD 1.5 by Shane Alderton

Timeoutd is a programme which allows you to control the following
characteristics on a user by user and/or group by group basis for
each tty on your system:

- maximum idle time
- maximum time per session
- maximum time per day
- times when people can/can't login on specific ttys

To build timeoutd, you should make any changes to the makefile for
your preferred compilation options, then simply:

make

The next step is to install a timeouts file in /usr/etc specifying
the parameters for each line/user/group combination.  You can use
the sample file provided in the distribution as a starting point
after reading the timeoutd.8 and timeouts.5 man pages.

Once you have installed the timeouts file in /usr/etc, you can type:

make install

to install the timeoutd binaries and man pages.

Then it is just a matter of running /usr/etc/timeoutd.  You may want
to add a line to your /etc/rc or /etc/rc.local (or whatever) to run
timeoutd at boot time.

If you wish, you can also modify your login programme to have timeoutd
run at login time to check whether each user is allowed to login or not.
Otherwise, users who are not allowed to login will be logged off within
1 minute of logging in.

Another (albeit less certain) way of doing this is to put the following
line in /etc/profile near the top of the file:

/usr/etc/timeoutd `whoami` `basename \`tty\`` || exit


Please sends bugs, comments, suggestions to:
shanea@bigpond.net.au (Shane Alderton)