The onaudit utility
Use the onaudit utility to manage audit masks and auditing configuration.
The onaudit utility manages audit masks and auditing configuration. It performs the following operations:
- Displays audit masks
- Adds audit masks
- Modifies audit masks
- Deletes audit masks
- Shows the audit configuration
- Enables and disables auditing
If you run the onaudit command without any options, it displays a usage summary.
If your system has role separation enabled, only the DBSSO or AAO have the authority to run onaudit commands. The DBSSO has the authority to run onaudit functions that involve audit masks, while the AAO has the authority to run onaudit commands that involve audit configuration parameters. Without role separation, the user informix is the only user with the authority to update the adtcfg file or run onaudit commands.
Changes that the DBSSO makes to audit masks become effective immediately for user sessions.