← Rules Catalog
mediumfilesystemverified rollback-safe

Ensure permissions on /etc/passwd are configured

etc-passwd-permissions · RHEL ≥ 8 · 1 impl

Description

The /etc/passwd file must have correct ownership and permissions.

Rationale

Incorrect permissions on /etc/passwd could allow unauthorized access or modification of sensitive system data.

Check → Remediate

Checkfile_permission
path:
/etc/passwd
owner:
root
group:
root
mode:
0644
Remediatefile_permissions
path:
/etc/passwd
owner:
root
group:
root
mode:
0644

Framework references

CIS

rhel9 7.1.1rhel8 7.1.1rhel10 7.1.1

STIG

V-257895V-257906V-257907V-281025 / RHEL-10-400040V-281026V-281070

NIST 800-53

AC-3MP-2AC-6

Live verification

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