System Administration Guide: Security Services

How to Change Audit Classes

Audit classes are defined in the /etc/security/audit_class file.

  1. Become superuser or assume an equivalent role.

  2. (Optional) Save a backup copy of the audit_class file.


    # cp /etc/security/audit_class /etc/security/audit_class.save
    
  3. Add new entries to the audit_class file.

    Each entry has the following format:


    0xnumber:name:description
    

    number

    Defines the unique audit class mask 

    name

    Defines the two-letter name of the audit class 

    description

    Defines the descriptive name of the audit class 

  4. Make the new data available to the BSM service.

    To use the new data, either reboot the system, or type the following command:


    # auditconfig -conf
    

Example—Setting a New Audit Class

In step 3, add an entry that resembles the following to set a new audit class called de:


0x00010000:de:device allocation