See Also

Notes

The audit command does not modify a process's preselection mask. Its functions are
limited to performing control actions of the auditing subsystem. See auditconfig(1M) for configuration.

The -s option validates the audit plugin configuration. If it is not valid
an error message is displayed and the audit service is not started or
refreshed. The -v option may be used to validate the audit plugin configuration
before using the -s option to start or refresh the audit service.

The -s option also checks state of the audit service. In case the
audit service is found in the maintenance state (thus not able to be
enabled or refreshed) the audit command returns with an appropriate message and exit
code.

All options are valid in the global zone. Unless per-zone is enabled, only
the -v option is valid in a local zone. See auditconfig(1M) for
per-zone audit configuration.