Security Basics mailing list archives

Re: Monitoring the change of password in Unix


From: Gustavo Castro <gcastrop () gmail com>
Date: Wed, 21 Jan 2009 14:54:35 -0200

Wilson:

  Oh... sorry, I omitted the "no extra software" bit...
  I think you could write a little shell script to achieve that (I
would monitor changes to the /etc/passwd and /etc/shadow files via a
cron job (using md5sum or so) and write a log myself), but I don't
know your real needs and I don't know the scenario either.
  (..and I don't know if "writing a little shell script" does count as
"extra software" for you...)

2009/1/21  <wilson () email chop edu>:
Is there a way in Unix, without extra software, to monitor the use of the "passwrd" command to reset the password?  
Perferably something that sent the event to Syslog.




-- 
Saludos,
     Gustavo Castro Puig.
     E-Mail: gcastrop () gmail com

LPI Level-1 Certified (https://www.lpi.org/es/verify.html
LPID:LPI000042304 Verification Code: hp6re8w5qg )
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/IT/ED dx s-:- a? C(+++)$ UL++++*$ P+ L++++(++)$ E--- W+++$ N+ o?
K- w O M V-- PS PE++(-) Y-(+) PGP+ t(++) 5+ X++ R tv+ b++(++++) DI+++
D++ G++ e++ h--- r y+++
------END GEEK CODE BLOCK------
Registered Linux User #69342


Current thread: