Skip to content
Rod Christiansen edited this page Mar 15, 2017 · 18 revisions

Keep Admin Remote Control

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

Kickstart admin user Apple Remote Desktop control

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent;

Turn on SSH remote login

sudo /usr/sbin/systemsetup -setremotelogin on;

Turn on Remote Apple Events System Prefs

sudo /usr/sbin/systemsetup -setremoteappleevents on;