[Aide] AIDE macro support s ?

Hannes von Haugwitz hannes at vonhaugwitz.com
Wed Oct 6 08:04:37 EEST 2010


On Wed, Oct 06, 2010 at 06:52:23AM +0800, Aaron Lewis wrote:
> 
> actually i got an error
> 
> Running aide --init...
> 19:Error in expression:@s?
> Configuration error
> Something didn't quite go right; see /var/lib/aide/aide.db.new for details
> 
> Configuration:
>     
>       9  @@define CHANGES R
> 
>      13  @@define LOGS CHKSUM+CHANGES+S
> 
> 
>      18  # Configuration and Logs
>      19  =/etc$ @@{LOGS}
> 
> Please help.

Please replace line 13 with 

@@define LOGS @@{CHKSUM}+@@{CHANGES}+S

But instead of macros you can use group definitions (see aide.conf man
page for details) to define groups of attributes:

Chksum = sha1+md5
Changes = R 
Logs = Chksum+Changes+S
=/etc$ Logs

If that doesn't solve your problem, please provide your complete
configuration file and the version of aide you use.

Greetings

Hannes


More information about the Aide mailing list