PreviousNext

auditd(8sec)

Starts the DCE audit daemon

Synopsis

auditd [-t trail_file] [-a] [-s size] [-wrap] [-w svc_route]
[-d debug_level]

Options

-t
Specifies the pathname of the audit trail file used by the audit daemon. The default path of the audit trail file is dcelocal/var/aud/adm/central_trail. If an audit trail file name (instead of an absolute pathname) is specified, the file will be created in the dcelocal/var/aud/adm/ directory.

-a
Audits the audit daemons control interface access.

-s size
Sets a warning threshold on the size of the audit trail file. The audit daemon displays a warning message each time an audit record is appended to the audit trail after the threshold has been reached.

-wrap
Wraps the recording of audit events to the beginning of the audit trail file when its size limit is reached. The default action when the size limit has been reached is to stop auditing.

-w svc_route
Specifies where each level of serviceability messages are routed. The svc_route argument is divided into three fields, separated by colons - the level, a routing identifier, and a routing parameter:

severity:how:where

See svcroute(5dce) for possible values for these fields.

-d debug_level
Specifies debugging level of subcomponents. The debug_level argument contains four fields separated by a colon:

component:flags:how:where

See svcroute(5dce) for possible values of these fields.

Description

The auditd command starts the audit daemon. The audit daemon must be run on the host before the audit clients.

The audit daemon can only service audit clients that are on the host where it is running. Thus, an audit daemon must be installed and run on every host in the cell that has audit clients (audit clients include DCE servers and user-written application servers).

The audit daemon has two functions. It maintains the filter files that are shared by all audit clients running on the host. It also provides an audit record logging service to these clients.

The audit daemon runs under the local hosts machine principal identity (host/hostname/self).

A DCE host daemon (dced) must be running on the local host when auditd is started. Typically, dced and auditd are started at boot time. The auditd process puts itself in the background and sends messages that indicate that it is ready to service requests for updating or querying filters and logging audit records.

Privileges Required
You must be logged into a privileged account (cell_admin or a member of the audit-admin group) to be able to run auditd.

Examples

1. The following example starts the audit daemon using the default audit trail file (dcelocal/var/aud/adm/central_trail):

auditd

2. The following example starts the audit daemon and specifies my_trail_file as the audit trail file.

auditd -t my_trail_file

3. The following example starts the audit daemon and specifies where each level of serviceability messages is going to be routed.

auditd -w FATAL:FILE:/dev/console -w NOTICE:FILE:/opt/dcelocal/var/audit/adm/svc_log

4. The following example starts the audit daemon and specifies the debugging level.

auditd -d 1,esl.9

Related Information
Commands:

aud(8dce)

audevents(8dce)

audfilter(8dce)

audtrail(8dce)

dcecp(8dce)

File: svcroute(5dce)