← Rules Catalog
highfilesystemverified rollback-safe

Ensure permissions on /etc/gshadow- are configured

etc-gshadow-backup-permissions · RHEL ≥ 8 · 1 impl

Description

The /etc/gshadow- file must have correct ownership and permissions.

Rationale

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

Check → Remediate

Checkfile_permission
path:
/etc/gshadow-
owner:
root
group:
root
mode:
0000
Remediatefile_permissions
path:
/etc/gshadow-
owner:
root
group:
root
mode:
0000

Framework references

CIS

rhel9 7.1.8rhel8 7.1.8rhel10 7.1.8

STIG

V-257894V-257904V-257905V-281023V-281024V-281069

NIST 800-53

AC-3MP-2AC-6

Live verification

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