Skip to content

Instantly share code, notes, and snippets.

@opragel
Last active August 29, 2015 14:06
Show Gist options
  • Save opragel/169a8914f7b38092903d to your computer and use it in GitHub Desktop.
Save opragel/169a8914f7b38092903d to your computer and use it in GitHub Desktop.
#!/bin/sh
# Kickstarts ARD (only allows 'ladmin' user) with all controls active
# Must be run as root!
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users ladmin -privs -all -restart -agent -menu
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment