UCF STIG Viewer Logo

GIDs reserved for system accounts must not be assigned to non-system groups.


Overview

Finding ID Version Rule ID IA Controls Severity
V-780 GEN000360 SV-44826r1_rule Medium
Description
Reserved GIDs are typically used by system software packages. If non-system groups have GIDs in this range, they may conflict with system software, possibly leading to the group having permissions to modify system files.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42298r1_chk )
Confirm all accounts with a GID of 499 and below are used by a system account.

Procedure:
List all the users with a GID of 0-499.

# awk -F: '$4 <= 499 {printf "%15s:%4s\n", $1, $4}' /etc/passwd | sort -n -t: -k2

If a GID reserved for system accounts (0 - 499) is used by a non-system account, this is a finding.
Fix Text (F-38265r1_fix)
Change the primary group GID numbers for non-system accounts with reserved primary group GIDs (those less or equal to 499).