The services file must be owned by root or bin.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN003760

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-37996r1_rule The services file must be owned by root or bin.

Vulnerability discussion

Failure to give ownership of sensitive files or utilities to root or bin provides the designated owner and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.

Check content

Open a terminal session and enter the following command to verify ownership of the services file. ls -lL /etc/services If the services file is not owned by root or bin, this is a finding.

Fix text

Open a terminal session and enter the following command to set the ownership of the services file. chown root /etc/services

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