STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

AlmaLinux OS 9 must generate audit records for any use of the "newgrp" command.

DISA Rule

SV-269487r1050370_rule

Vulnerability Number

V-269487

Group Title

SRG-OS-000037-GPOS-00015

Rule Version

ALMA-09-049410

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure AlmaLinux OS 9 to generate audit records upon successful/unsuccessful attempts to use the "newgrp" command.

Add the following to the "/etc/audit/rules.d/audit.rules" file:

-a always,exit -F path=/usr/bin/newgrp -F perm=x -F auid>=1000 -F auid!=unset -k priv_cmd

Merge the rules into /etc/audit/audit.rules:

$ augenrules --load

Check Contents

Verify that AlmaLinux OS 9 is configured to audit the execution of the "newgrp" command with the following command:

$ auditctl -l | grep newgrp

-a always,exit -S all -F path=/usr/bin/newgrp -F perm=x -F auid>=1000 -F auid!=unset -F key=priv_cmd

If the command does not return an audit rule for "newgrp" or any of the lines returned are commented out, this is a finding.

Vulnerability Number

V-269487

Documentable

False

Rule Version

ALMA-09-049410

Severity Override Guidance

Verify that AlmaLinux OS 9 is configured to audit the execution of the "newgrp" command with the following command:

$ auditctl -l | grep newgrp

-a always,exit -S all -F path=/usr/bin/newgrp -F perm=x -F auid>=1000 -F auid!=unset -F key=priv_cmd

If the command does not return an audit rule for "newgrp" or any of the lines returned are commented out, this is a finding.

Check Content Reference

M

Target Key

5664