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
_______________________________________________
Aide mailing list
[email protected]
https://www.ipi.fi/mailman/listinfo/aide

Reply via email to