UCF STIG Viewer Logo

All shell files must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-921 GEN002200 M6 SV-38014r1_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
MAC OSX 10.6 Workstation Security Technical Implementation Guide Draft 2013-01-10

Details

Check Text ( C-37583r1_chk )
Open a terminal session and enter the following command to verify the ownership of the system shell files.

cat /etc/shells | xargs -n1 ls -lL

If any shell file is not owned by root, this is a finding.

Fix Text (F-32825r1_fix)
Open a terminal session and enter the following command to change the ownership of the shell file with incorrect ownership.

chown root