[Aide] How to make aide print file details of an arbitrary file?

Jacob M martinson.jacob at gmail.com
Sat Oct 28 18:22:45 EEST 2006


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?

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
>


More information about the Aide mailing list