RHEL-06-000174 - The operating system must automatically audit account creation - /etc/passwd

Information

In addition to auditing new user and group accounts, these watches will alert the system administrator(s) to any modifications. Any unexpected users, groups, or modifications should be investigated for legitimacy.

Solution

Add the following to '/etc/audit/audit.rules', in order to capture events that modify account changes:

# audit_account_changes
-w /etc/group -p wa -k audit_account_changes
-w /etc/passwd -p wa -k audit_account_changes
-w /etc/gshadow -p wa -k audit_account_changes
-w /etc/shadow -p wa -k audit_account_changes
-w /etc/security/opasswd -p wa -k audit_account_changes

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(4), CAT|III, CCI|CCI-000018, Rule-ID|SV-217956r603264_rule, STIG-ID|RHEL-06-000174, STIG-Legacy|SV-50332, STIG-Legacy|V-38531, Vuln-ID|V-217956

Plugin: Unix

Control ID: 7e46bd9260b239cd0c8a981cf651d5e356ff63046264d5740b624edc345bce87