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 "chsh" command.

DISA Rule

SV-269481r1050364_rule

Vulnerability Number

V-269481

Group Title

SRG-OS-000037-GPOS-00015

Rule Version

ALMA-09-048750

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

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

-a always,exit -F path=/usr/bin/chsh -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 "chsh" command with the following command:

$ auditctl -l | grep chsh

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

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

Vulnerability Number

V-269481

Documentable

False

Rule Version

ALMA-09-048750

Severity Override Guidance

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

$ auditctl -l | grep chsh

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

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

Check Content Reference

M

Target Key

5664