All shell files must be owned by root.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN002200

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-38014r1_rule All shell files must be owned by root.

Vulnerability discussion

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.

Check content

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

Open a terminal session and enter the following command to change the ownership of the shell file with incorrect ownership. chown root

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer