Home | Previous Page | Next Page   Audit Administration > Auditing Setup >

Specifying a Directory for the Audit Trail (UNIX)

As the AAO, when you turn on auditing, you specify that either the database server or your operating system manage audit records. If you choose to have your operating system control audit records, see your operating-system documentation for the location of those records.

If you specify that the database server store audit records, as Overview of Auditing describes, the database server stores audit files in a file-system directory. You can specify the directory with the onaudit utility. For example, the following command specifies /work/audit as the UNIX file system in which the database server is to store audit files:

onaudit -p /work/audit
Note:
The onaudit -p /work/audit command works only if logging is enabled or if -1 N options in included in the command line.

You can change the audit directory at any time. You can also set up the type of auditing and specify the directory with the ADTCFG file, which is described in Appendix B. The ADTCFG File.

Extended Parallel Server

For Extended Parallel Server, the directory that you specify must exist on each node that hosts a coserver. For information about the naming conventions for the subdirectory and audit files, refer to Location of Audit Files.

End of Extended Parallel Server

For more information about the onaudit utility, see Utility Syntax.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]