AUDITD(8) | Maintenance Commands and Procedures | AUDITD(8) |
auditd - audit daemon
/usr/sbin/auditd
The audit daemon, auditd, controls the generation and location of audit trail files and the generation of syslog messages based on its configuration, stored in smf(7) and managed using the auditconfig(8) command.
audit(8) is used to control auditd. It can cause auditd to:
The audit daemon invokes the program audit_warn(8) under the following conditions with the indicated options:
audit_warn soft pathname
audit_warn allsoft
audit_warn hard pathname
audit_warn allhard count
audit_warn tmpfile
audit_warn nostart
audit_warn auditoff
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
auditon(2), audit.log(5), attributes(7), audit_binfile(7), audit(8), audit_warn(8), auditconfig(8), praudit(8)
If the audit policy perzone is set, auditd runs in each zone, starting automatically when the local zone boots. If a zone is running when the perzone policy is set, auditing must be started manually in local zones. It is not necessary to reboot the system or the local zone to start auditing in a local zone. auditd can be started with "/usr/sbin/audit -s" and will start automatically with future boots of the zone.
When auditd runs in a local zone, the configuration is taken from the local zone's /etc/security directory's files: audit_class, and audit_event.
Configuration changes do not affect audit sessions that are currently running, as the changes do not modify a process's preselection mask. To change the preselection mask on a running process, use the -setpmask option of the auditconfig command (see auditconfig(8)). If the user logs out and logs back in, the new configuration changes will be reflected in the next audit session.
The auditd service is managed by the service management facility, smf(7), under the service identifier:
svc:/system/auditd
The service's status can be queried using the svcs(1) command. While administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8), the audit(8) command is the preferred administrative interface.
March 6, 2017 | OmniOS |