fleet/ee/cis/macos-13/test/scripts/CIS_3.1.sh
2023-01-26 16:53:58 -05:00

7 lines
320 B
Bash
Executable File

#!/bin/bash
/usr/bin/sudo /bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.auditd.plist
# For Testing: After the above command executed:
# This will stop the service: /usr/bin/sudo /bin/launchctl stop com.apple.auditd
# This will start the service: /usr/bin/sudo /bin/launchctl start com.apple.auditd