Man Pages (1MTSOL): Maintenance and Administration Commands
只搜寻这本书
以 PDF 格式下载本书

NAME

auditd - Audit daemon

SYNOPSIS

/usr/sbin/auditd

AVAILABILITY

SUNWcsu

DESCRIPTION

The audit daemon controls the generation and location of audit-trail files. If auditing is desired, auditd reads the audit_control(4TSOL) file to get a list of directories into which audit files can be written and the percentage limit for how much space to reserve on each file system before changing to the next directory.
If auditd receives the signal SIGUSR1 ,the current audit file is closed and another is opened. If SIGHUP is received, the current audit trail is closed, the audit_control file is reread, and a new trail is opened. If SIGTERM is received, the audit trail is closed and auditing is terminated. The program audit(1MTSOL) sends these signals and is recommended for this purpose.
Each time it opens a new audit-trail file, the audit daemon updates the file audit_data(4TSOL) to include the correct name.

Auditing Conditions

The audit daemon invokes the audit_warn(1MTSOL) program under the following conditions with the indicated options:
audit_warn soft pathname
The file system upon which pathname resides has exceeded
the minimum free-space limit defined in
audit_control(4TSOL). A new audit trail has been opened
on another file system.
audit_warn allsoft
All available file systems have been filled beyond the
minimum free-space limit. A new audit trail has been
opened anyway.
audit_warn hard pathname The file system upon which pathname resides has filled or
become unavailable for some reason. A new audit trail has
been opened on another file system.
audit_warn allhard count
All available file systems have been filled or become unavailable for some reason. The audit daemon will repeat this call to audit_warn every twenty seconds until space becomes
available. count is the number of times that audit_warn has
been called since the problem arose.
audit_warn ebusy
There is already an audit daemon running.
audit_warn tmpfile
The file /etc/security/audit/audit_tmp exists, indicating a
fatal error.
audit_warn nostart
The internal system audit condition is AUC_FCHDONE.
Auditing cannot be started without rebooting the system.
audit_warn auditoff
Someone other than the audit daemon has changed the
internal system audit condition from AUC_AUDITING .This change causes the audit daemon to exit.
audit_warn postsigterm
An error occurred during the orderly shutdown of the auditing system.
audit_warn getacdir
There is a problem getting the directory list from
/etc/security/audit/audit_control. The audit daemon will
hang in a sleep loop until this file is fixed.

SUMMARY OF TRUSTED

By default, the audit module is enabled in the Trusted Solaris environment. By default, the machine halts when audit files run out of disk space. The Trusted Solaris environment adds programming interfaces, audit classes, and audit events.

SOLARIS CHANGES

auditd reads the audit_control(4TSOL) file rather than the audit_control(4) file and updates the audit_data(4TSOL) file rather than the audit_data(4) file.

FILES

/etc/security/audit/audit_control
/etc/security/audit/audit_data

SEE ALSO

audit(1MTSOL), audit_warn(1MTSOL), praudit(1MTSOL), auditon(2TSOL), auditsvc(2TSOL), audit.log(4TSOL), audit_control(4TSOL), audit_data(4TSOL) Trusted Solaris Audit Administration Manual

NOTES

This functionality is active only if the audit module has been enabled. By default, auditing is enabled in the Trusted Solaris environment. See Trusted Solaris Audit Administration Manual for how to disable and enable auditing.