Re: Passwd Change -> Email

From: Ross Vandegrift (ross@willow.seitz.com)
Date: 08/31/01


From: Ross Vandegrift <ross@willow.seitz.com>
Date: Fri, 31 Aug 2001 16:34:24 -0400
To: Administrator <lists@digitalplace.org>
Subject: Re: Passwd Change -> Email
Message-ID: <20010831163424.A4479@willow.seitz.com>


> I am wondering if anyone has a program that will set a linux computer to
> email to a specified account when the passwd/shadow file changes. I
> have a linux box that I do not use everyday, and is a single hole in a
> firewall. The only port open is ssh and I want the box to email me if
> the password file changes. If anybody has an app that can do this I
> would be very appreciative. Thank you.

Tripwire and Spong are two programs that can do things such as this.

However, if you only want to monitor /etc/passwd and /etc/shadow, it
might be easier to write a small script that md5sum's each file and
compares it to the `correct' md5sum that you generate by hand. Run
the script in cron and have it send an email out if the checksums
don't match.

Ross Vandegrift
coolio@tmbg.org
ross@willow.seitz.com



Relevant Pages

  • Re: Passwd Change -> Email
    ... Subject: Passwd Change -> Email ... >> I am wondering if anyone has a program that will set a linux computer to ... >> email to a specified account when the passwd/shadow file changes. ... It occurs to me that one ought to be able to stack a PAM module to log ...
    (Focus-Linux)
  • Re: Passwd Change -> Email
    ... Subject: Passwd Change -> Email ... almost a copy of my working script;-) ... A> email to a specified account when the passwd/shadow file changes. ... WEB SPACE STATION ...
    (Focus-Linux)
  • Passwd Change -> Email
    ... Subject: Passwd Change -> Email ... I am wondering if anyone has a program that will set a linux computer to ... email to a specified account when the passwd/shadow file changes. ...
    (Focus-Linux)
  • RE: Passwd Change -> Email
    ... Subject: Passwd Change -> Email ... I've wrote a little script for you. ... With it U can monitor any file changes ... email to a specified account when the passwd/shadow file changes. ...
    (Focus-Linux)