highfilesystemverified ✓rollback-safe
Ensure permissions on /etc/shadow- are configured
etc-shadow-backup-permissions · RHEL ≥ 8 · 1 impl
Description
The /etc/shadow- file must have correct ownership and permissions.
Rationale
Incorrect permissions on /etc/shadow- could allow unauthorized access or modification of sensitive system data.
Check → Remediate
Checkfile_permission
- path:
- /etc/shadow-
- owner:
- root
- group:
- root
- mode:
- 0000
Remediatefile_permissions
- path:
- /etc/shadow-
- owner:
- root
- group:
- root
- mode:
- 0000
Framework references
CIS
rhel9 7.1.6rhel8 7.1.6rhel10 7.1.6
STIG
V-257897V-257912V-257913V-281031V-281032V-281072
NIST 800-53
AC-3MP-2AC-6
Live verification
rhel10:checkrhel8:checkrhel9:check
#file-permissions#authentication