pyttymon is a simple daemon that monitors and limits usage of ttys. It is implemented in Python. A simple config file can specify monthly, daily, session, and idle limits based on tty, user, group, and ttys in use. It was inspired by timeoutd, but adds support for monthly maximums and different limits based on the number of ttys in use.
|Operating Systems||POSIX Linux|
Release Notes: Recovery was added for when a killed session already exited. The pyttymon 'sac' function was changed to use the '--seconds' parameter for more accuracy. init.d/pyttymon was changed to use --retry 1 on stop and to call itself for restart. Limit checking was changed to be cleaner and to ensure a minimum of "warn" per session.
Release Notes: Bug with parsing rawtmp output causing corrupt session times was fixed. Support for warnings as tty load approaches one that would activate a rule with exceeded limits was added. Previously users would be kicked immediately with no warning when the tty load activated a rule with stricter limits than what applied below that load.
Release Notes: Email notification for SMTP servers that requre full email addresses has been fixed. A comand line option to specify the hostname used when sending email has been added.
No changes have been submitted for this release.