Big Sur - Disable Guest Access to Shared SMB Folders

Information

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.

Solution

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

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2, 800-53|AC-2(9), CCE|CCE-85319-2

Plugin: Unix

Control ID: 8198d03a09448ec6db36c8d8b29e639be64c2c371b8128e4416124bcf12b03c4