[Aide] aide --init versus aide --update
Hannes von Haugwitz
hannes at vonhaugwitz.com
Fri Feb 28 16:58:26 EET 2025
Hi,
On Wed, Feb 26, 2025 at 10:26:41PM +0100, Bastard Operator from Hell aka Django wrote:
> What confuses me a little is the aide --update. What is the purpose of the
> update option? If I understand it correctly, the option performs a check and
> then recreates the database. But why should you, or more precisely I, use
> this option? Is it “only” intended for the interactive check for an admin?
> Or what is the exact idea behind it or for using this option?
aide --update basically combines a check and an initialization of a new
database. The advantage of using --update over --check/--init is that the
report and the new database are always based on the same file system data.
Another approach could be to use --init followed by --compare, but note
that not all attributes (namely growing and compressed) are supported in
compare mode.
Best regards
Hannes
More information about the Aide
mailing list