Check: GEN001430
Title
The /etc/shadow file must not have an extended ACL. (Cat II impact)
Discussion
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. The file also contains password hashes which must not be accessible to users other than root.
Check Content
Verify /etc/shadow has no extended ACL. # ls -D /etc/shadow If the file has an extended ACL, this is a finding.
Fix Text
Remove the extended ACL from the file. # chmod A- /etc/shadow
Additional Identifiers
Rule ID:
Vulnerability ID: V-22340
Group Title:
Expert Comments
Expert comments are only available to logged-in users.
CCIs
CCIs tied to check.
Number | Definition |
---|---|
CCI-000225 |
Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks. |
Controls
Controls tied to check. These are derived from the CCIs shown above.
Number | Title |
---|---|
AC-6 |
Least Privilege |