UCF STIG Viewer Logo

Internet Sharing must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51413 OSX8-00-01270 SV-65623r1_rule Medium
Description
Internet Sharing must be disabled.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53749r1_chk )
To check if Internet sharing is disabled, run the following command:

sudo /usr/libexec/PlistBuddy -c "print com.apple.InternetSharing:Disabled" /var/db/launchd.db/com.apple.launchd/overrides.plist

If the returned value isn't "true" or doesn't exist, this is a finding.
Fix Text (F-56211r1_fix)
To disable Internet Sharing, run the following command:

sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist "com.apple.InternetSharing" -dict Disabled -bool true