fleet/ee/cis/macos-13/test/scripts/CIS_2.12.2.sh
2023-01-27 11:16:41 -05:00

10 lines
232 B
Bash
Executable File

#!/bin/bash
/usr/bin/sudo /usr/sbin/sysadminctl -smbGuestAccess off
# For testing
# Get Status: /usr/bin/sudo /usr/sbin/sysadminctl -smbGuestAccess status
# Set to enabled: /usr/bin/sudo /usr/sbin/sysadminctl -smbGuestAccess on