Information
The operating system must automatically audit account termination.
GROUP ID: V-216262
RULE ID: SV-216262r958594
Without auditing, malicious activity cannot be detected.
Solution
The Audit Configuration profile is required. All audit flags must be enabled in a single command.
This action applies to the global zone only. Determine the zone currently being secured.
# zonename
If the command output is "global", this action applies.
For Solaris 11, 11.1, 11.2, and 11.3:
# pfexec auditconfig -setflags cusa,-ps,fd,-fa,fm
For Solaris 11.4 or newer:
# pfexec auditconfig -setflags cusa,-fa,-ex,-ps,fd,fm
Enable the audit policy to collect command line arguments.
# pfexec auditconfig -setpolicy +argv
These changes will not affect users that are currently logged in.