BaselineWatch
Desk

system_settings_guest_access_smb_disable Disable Guest Access to Shared SMB Folders

NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
first version loaded System Settings

Title

Disable Guest Access to Shared SMB Folders

Control

/usr/bin/defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server AllowGuestAccess

Discussion

Guest access to shared Server Message Block (SMB) folders _MUST_ be disabled.

Turning off guest access prevents anonymous users from accessing files shared via SMB.

Related controls

ac-2, ac-2.9

Fix

[source,bash]
----
/usr/sbin/sysadminctl -smbGuestAccess off
----