Check: GEN001410
Title
The /etc/shadow file (or equivalent) must be group-owned by root, bin, or sys. (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
Check the ownership of the /etc/shadow file. Procedure: # ls -lL /etc/shadow If the file is not group-owned by root, bin, or sys, this is a finding.
Fix Text
Change the group owner of the /etc/shadow file. Procedure: # chgrp root /etc/shadow
Additional Identifiers
Rule ID:
Vulnerability ID: V-22339
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |