[plug] Server "diff"

Brad Hill brad at marketcast.com.au
Tue Jun 17 16:49:59 WST 2003


Yep, it's not rpm based... and even it if was, most of the files i want to
check are actually our own development stuff and there's a lot of config
files etc (too many to check manually), although that still is handy
information for some of my other machines.

----- Original Message ----- 
From: "Tim Bowden" <bowden at iinet.net.au>
To: <plug at plug.linux.org.au>
Sent: Tuesday, June 17, 2003 3:58 PM
Subject: Re: [plug] Server "diff"


> Brad Hill wrote:
>
> >I want to know an easy way to get a list of all of the file differences
> >between two servers...
> >
> >I was thinking of using rsync or something but am not quite sure of how
to
> >get it to just LIST differences rather than actually downloading and
> >updating all the files...
> >
> >This is just so i can find all the changes a previous admin has made to a
> >default system so i know exactly what deviations from the norm we have in
> >place, but obviously i want to extend it to everything down to file
> >permissions etc just to make sure the previous admin hasn't also
introduced
> >security holes i'm so far unaware of.
> >
> >Any suggestions much appreciated and (hopefully) none will get flamed.
> >
> >
> Are you sure you need to compare the system in question to a separate
> default install?  If you have an rpm based system  then any files
> installed from an rpm could be verified using 'rpm -V -a' which checks
> by default size, mode (permissions & file type), md5sum, device major &
> minor, user & group & time.  To find any files not installed from an rpm
> compare the differences between 'rpm -q -a -l' and 'find /'.  How to
> check those files would depend on where they came from.
>
> Hope this is of some help to somebody.
>
> Regards,
> Tim Bowden
>



More information about the plug mailing list