UCF STIG Viewer Logo

All shell files must be owned by root or bin.


Overview

Finding ID Version Rule ID IA Controls Severity
V-921 GEN002200 SV-37396r1_rule ECLP-1 Medium
Description
If shell files are owned by users other than root or bin, they could be modified by intruders or malicious users to perform unauthorized actions.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-36081r1_chk )
Check the ownership of the system shells.
# cat /etc/shells | xargs -n1 ls -l
If any shell is not owned by root or bin, this is a finding.
Fix Text (F-31328r1_fix)
Change the ownership of the shell with incorrect ownership.
# chown root