CL Command Reference - CHGSECAUD
CL Command List > CHGSECAUD Reference
Description:
The Change Security Auditing (CHGSECAUD) command allows you to change the current settings for the system values that control what is being audited on the system. If the security audit journal, QAUDJRN, does not exist when the command is issued, the security journal and its initial journal receiver are created by this command.
Restriction: You must have *ALLOBJ and *AUDIT special authorities to use this command.
Examples:
Example 1:
CHGSECAUD QAUDCTL(*AUDLVL) QAUDLVL(*DFTSET)
This command will activate system security auditing by ensuring the security journal exist, setting the QAUDCTL system value to *AUDLVL, and setting the QAUDLVL system value to the default set of values.
Example 2:
CHGSECAUD QAUDCTL(*AUDLVL) +
QAUDLVL(*AUTFAIL *CREATE *DELETE +
*JOBDTA *NETBAS *NETFAIL +
*OBJMGT *OPTICAL *PGMADP +
*PGMFAIL *PRTDTA *SAVRST +
*SECCFG *SECDIRSRV *SECRUN +
*SERVICE *SPLFDTA *SYSMGT)
This command will activate system security auditing by ensuring the security journal exist, setting the QAUDCTL system value to *AUDLVL, and setting the QAUDLVL and QAUDLVL2 system values to the specified values. QAUDLVL system value will contain *AUDLVL2, *AUTFAIL, *CREATE, *DELETE, *JOBDTA, *NETBAS, *NETFAIL, *OBJMGT, *OPTICAL, *PGMADP, *PGMFAIL, *PRTDTA, *SAVRST, *SECCFG, *SECDIRSRV, *SECRUN. QAUDLVL2 system value will contain *SERVICE, *SPLFDTA, *SYSMGT.