Solaris Auditing and CFEngine

From Cfwiki

Jump to: navigation, search

Auditing can cause problems when using cfengine to edit files; for example, when using EditFiles to change crontabs.

Auditing tracks changes to crontabs, and will reject attempts to use crontabs that are modified by cfengine directly.

There are two ways to get around this.

  • Remove the *.au files in the directory prior to editing the crontabs. This method is fraught with peril; use at your own risk.
  • Modify the crontabs using the crontab -e command. Note that this command may be combined with a crontab -l command in order to modify the existing crontab.
Personal tools