mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-04 17:23:16 +00:00
Disabling guest access with sysadminctl
This commit is contained in:
@@ -11,7 +11,7 @@ result:
|
||||
fix: |
|
||||
[source,bash]
|
||||
----
|
||||
/usr/bin/defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AllowGuestAccess -bool false
|
||||
/usr/sbin/sysadminctl -smbGuestAccess off
|
||||
----
|
||||
references:
|
||||
cce:
|
||||
|
||||
Reference in New Issue
Block a user