[Aide] How to make aide print file details of an arbitrary file?
Marc Haber
mh+aide at zugschlus.de
Sat Oct 28 19:40:18 EEST 2006
On Sat, Oct 28, 2006 at 10:22:45AM -0500, Jacob M wrote:
> If you are just looking for checksums, you can just use the md5sum or
> sha1 commands:
>
> $ md5sum brick.db
> c0dc6b082e7e8c25403a6c30026fc7c0 brick.db
> $ sha1sum brick.db
> d9bb2da8e65336db01dc335e745449b5b9062f34 brick.db
>
> Is that what you're talking about?
Yes, but aide can do like 11 checksums, and uses them. Or do you know
how to make a haval or gost checksum from a shell script?
Why re-invent that wheel? The mechanisms are already there: In aide.
Additionally, I do not intend to create more dependencies.
Greetings
Marc
>
> On 10/28/06, Marc Haber <mh+aide at zugschlus.de> wrote:
> > Hi,
> >
> > I'd like to include checksums of the reference database into the daily
> > cronjob report. Before I shellscript bad things, I'd like to use aide
> > to generate these checksums.
> >
> > Unfortunately, this seems to be harder than thought. My naive approach
> > was to generate an aide configuration file that only checks
> > /var/lib/aide/aide.db and uses /dev/null as input and ouput database.
> > This got flagged as an error by aide as it does not like input and
> > output database to be the same file.
> >
> > After telling aide to write to a dummy file I found out that aide
> > doesn't show the details of a _new_ file, and that I won't be getting
> > any file details this way.
> >
> > Is there any way to get aide details of any given file short of
> > generating a single-line database that recognizes the file as "changed
> > in all details", which I have not yet been very successful in doing?
> >
> > Greetings
> > Marc
> >
> > --
> > -----------------------------------------------------------------------------
> > Marc Haber | "I don't trust Computers. They | Mailadresse im Header
> > Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
> > Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
> > _______________________________________________
> > Aide mailing list
> > Aide at cs.tut.fi
> > https://mailman.cs.tut.fi/mailman/listinfo/aide
> >
> _______________________________________________
> Aide mailing list
> Aide at cs.tut.fi
> https://mailman.cs.tut.fi/mailman/listinfo/aide
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Aide
mailing list