All network services daemon files must have mode 0755 or less permissive.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN001180

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-37882r1_rule All network services daemon files must have mode 0755 or less permissive.

Vulnerability discussion

Restricting permission on daemons will protect them from unauthorized modification and possible system compromise.

Check content

Open a terminal session and enter the following command to check the mode of network services daemons (all on one line). find /usr/sbin -type f -perm +022 -exec stat -f %Lp:%N {} \; This will return the octal permissions and name of all files that are group or world-writable. If any network services daemon listed is world or group-writable (either or both of the 2 lowest order digits containing a 2, 3, 6, or 7), this is a finding.

Fix text

Open a terminal session and use the following command to change the mode of the network services daemon. chmod 755

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