[Aide] Verifying mounted filesystem
Hannes von Haugwitz
hannes at vonhaugwitz.com
Thu Feb 29 00:10:15 EET 2024
Hello,
On Wed, Feb 28, 2024 at 09:39:14PM +0000, Sloane, Brandon wrote:
> Ideally, I would be able to do something along the
> lines of:
>
> aide --check --config /path/to/aide.conf --root /mnt/sysroot
>
> and have it behave as if aide was called after doing 'chroot /mnt/sysroot'. However, I have been unable to find anything along the lines of the hypothetical root command.
Use the `root_prefix` config option (see main 5 aide.conf for deatils):
aide --check --config /path/to/aide.conf --before 'root_prefix=/mnt/sysroot'
Best regards
Hannes
More information about the Aide
mailing list