[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: expiring passwords



On Sat, 15 Mar 2003 at 06:26:31PM +0100, martin f krafft wrote:
> it), and will have to write a custom notification script that parses
> /ec/shadow?

No need to parse /etc/shadow.  Just parse the output of passwd -S.  I
wrote a perl script that utilized process pipes to get output from
passwd -S and send input to exim (to send the user an email).  People
don't usually log into the system I run either.  I replaced the login
shell with a carefully audited/environment sanitized perl script that (at
the moment) allows them to change their password or log out.  If you
would like any of these resources, let me know via off-list email.

-- 
Phil

PGP/GPG Key:
http://www.zionlth.org/~plhofmei/
wget -O - http://www.zionlth.org/~plhofmei/key.txt | gpg --import
--
Excuse #133: Root rot 

Attachment: pgpMNDCrmeVlu.pgp
Description: PGP signature


Reply to: