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-38501r1_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
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-36412r1_chk )
Check the ownership of the system shells.
# cat /etc/shells | xargs -n1 ls -lL

If any shell is not owned by root or bin, this is a finding.
Fix Text (F-31750r1_fix)
Change the ownership of any system shell not owned by root or bin:
# chown root