report_old_users.php

If a user has not been seen during a certain amount of time, it would be desirable to disallow access to their systems until he reports back to the sysadmin.

The script report_old_users.php reports if a user hasn't been seen during a certain amount of time, defined by the config variables report_old_users_days_from and report_old_users_days_back, and for every user not seen during this time span, it sets their systems to the 'kill' status, forcing thus the user to report back to the sysadmin when she comes back.

As mentioned before, the time span is defined by the config variable report_old_users_days_from and report_old_users_days_back, which are given in days. For this script to work, the value defined for report_old_users_days_from has to be less than report_old_users_days_back.