STIGQter STIGQter: STIG Summary: Oracle Linux 9 Security Technical Implementation Guide Version: 1 Release: 6 Benchmark Date: 01 Jul 2026:

OL 9 must audit all uses of the gpasswd command.

DISA Rule

SV-271542r1092504_rule

Vulnerability Number

V-271542

Group Title

SRG-OS-000037-GPOS-00015

Rule Version

OL09-00-000575

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure OL 9 to generate audit records upon successful/unsuccessful attempts to use the gpasswd command by adding or updating the following rule in "/etc/audit/rules.d/audit.rules":

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

The audit daemon must be restarted for the changes to take effect.

Restart auditd:
$ sudo service auditd restart

Check Contents

Verify that OL 9 is configured to audit the execution of the gpasswd command with the following command:

$ sudo auditctl -l | grep gpasswd
-a always,exit -F path=/usr/bin/gpasswd -F perm=x -F auid>=1000 -F auid!=unset -k privileged-gpasswd

If the command does not return a line or the line is commented out, this is a finding.

Vulnerability Number

V-271542

Documentable

False

Rule Version

OL09-00-000575

Severity Override Guidance

Verify that OL 9 is configured to audit the execution of the gpasswd command with the following command:

$ sudo auditctl -l | grep gpasswd
-a always,exit -F path=/usr/bin/gpasswd -F perm=x -F auid>=1000 -F auid!=unset -k privileged-gpasswd

If the command does not return a line or the line is commented out, this is a finding.

Check Content Reference

M

Target Key

5680