← Rules Catalog
highfilesystemverified rollback-safe

Ensure permissions on /etc/shadow are configured

etc-shadow-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.5rhel8 7.1.5rhel10 7.1.5

STIG

V-257934V-257910V-257911V-281076V-281029V-281030

NIST 800-53

AC-3MP-2

Live verification

rhel10:checkrhel8:checkrhel9:check
#file-permissions#authentication