STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

V-922

CAT I (High)

All shell files must have mode 0755 or less permissive.

Rule ID

SV-45174r1_rule

STIG

SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Version

V1R12

CCIs

CCI-000225

Discussion

Shells with world/group write permissions give the ability to maliciously modify the shell to obtain unauthorized access.

Check Content

If /etc/shells exists, check the group ownership of each shell referenced.
# cat /etc/shells | xargs -n1 ls -l

Otherwise, check any shells found on the system.
# find / -name "*sh" | xargs -n1 ls -l

If a shell has a mode more permissive than 0755, this is a finding.

Fix Text

Change the mode of the shell.
# chmod 0755 <shell>