-
Notifications
You must be signed in to change notification settings - Fork 13
AdminRemoteControl
Rod Christiansen edited this page Mar 15, 2017
·
18 revisions
The boot-every
folder is a great way to keep your admin privileges on your managed computers with the ARD kickstart and SSH activation running on every boot. Specially handy for machines where your users have admin privileges.
#!/bin/bash
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent;
sudo /usr/sbin/systemsetup -setremotelogin on;
sudo /usr/sbin/systemsetup -setremoteappleevents on;