passwd_exp − password/account expiration checking tool
passwd_exp [options] [ USERNAME ]
passwd_exp warns users of password/account expiration via email. It extends similar function of login process, that prints such a messages at login time, but many users do not login for a long (long) time and only download/forward their email, so they have absolutely no chance to find out what’s happening with their account.
This script will warn them (via email), and save you from request to re-enable users accounts that has been ’magicaly’ disabled by that BAD BAD man called Linux or whatever :) (And be sure there will be some if you have system with many users forcing them to change their passwords to get just a little more security).
Extra feature of this script is listing of expired user accounts so you will have some more info about your system.
−c FILE |
config file | |||||
−u USERNAME |
username to check | |||||
−l |
list users, do not send mails | |||||
−f |
override ‘run once per day’ restriction | |||||
−t |
test mode, print generated emails instead of |
sending them
−T |
test configuration file validity | |||||
−v |
verbose mode, more times for more verbosity | |||||
−d var=value |
define variable for message enviroment | |||||
−m MODULE |
module to use (can be module name or program path) | |||||
−mi |
print module informations | |||||
−mo option=value |
set module option (argument) | |||||
−s option=value |
override config file option |
/etc/passwd_exp/passwd_exp.conf |
− config file | |||||||
/etc/passwd_exp/mail |
− mail files search dir |
|||||||
/usr/share/passwd_exp/mail |
− mail files search dir |
|||||||
/usr/share/passwd_exp/mod |
− input modules dir |
|||||||
/etc/cron.daily/passwd_exp.cron |
− daily cron check script | |||||||
/etc/cron.weekly/passwd_exp−admin.cron |
− admin weekly cron check |
script
None found (yet).
Text-Tokenizer
perl module for fast text analyzation at http://devel.dob.sk/Text−Tokenizer
pfadmin
postfix virtual email accounts managment tools (for vmail.pfadmin data module) http://devel.dob.sk/pfadmin
Samuel Behan, <samkob(at)gmail(dot)com>
Copyright 2003−2005 by Samuel Behan
This library is free software; you can redistribute it and/or modify it under the same terms of GNU/GPL v2.