Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

AdminRemoteControl

Rod Christiansen edited this page May 27, 2016 · 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;