SV-271885r1092367_rule
V-271885
SRG-OS-000462-GPOS-00206
OL09-00-008000
CAT II
10
Configure OL 9 auditing to prevent modification of login UIDs once they are set by adding the following line to /etc/audit/rules.d/audit.rules:
--loginuid-immutable
The audit daemon must be restarted for the changes to take effect.
$ sudo service auditd restart
Verify that OL 9 audit system configuration prevents unauthorized changes to logon UIDs with the following command:
$ sudo grep -i immutable /etc/audit/audit.rules
--loginuid-immutable
If the "--loginuid-immutable" option is not returned in the "/etc/audit/audit.rules", or the line is commented out, this is a finding.
V-271885
False
OL09-00-008000
Verify that OL 9 audit system configuration prevents unauthorized changes to logon UIDs with the following command:
$ sudo grep -i immutable /etc/audit/audit.rules
--loginuid-immutable
If the "--loginuid-immutable" option is not returned in the "/etc/audit/audit.rules", or the line is commented out, this is a finding.
M
5680