password expirations and automate generate password and reset password and mail it?
Jeremy C. Reed
reed at reedmedia.net
Wed Apr 4 17:24:28 MST 2007
Two topics here ...
Anyone know of a ready-to-use script/tool to generate password and reset
password and mail it?
I could write a script that does the following ... generate a password
with apg, shuffle, or Crypt::RandPasswd perl module; then encrypt it (if
needed); use usermod to set it; and then PGP/GPG-encrypt a message and
email that. (This is to be automated every couple weeks or once a mont via
cron.)
I was wondering if something already exists before I do this myself. (This
is on a RHEL clone, but that doesn't matter.)
Second topic:
Anyone use shadow(5) fields (such as with passwd(1) or chage(1)) for last
password change, days until change allowed, days before change required,
days warning for expiration, days before account inactive, and/or date
when account expires? If so, do you want to share any examples?
Thanks,
Jeremy C. Reed
More information about the PLUG-discuss
mailing list