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

Admin Remote Control

The script to kickstart ARD and activate SSH remote control can be added in the boot-every folder as a great way to keep your admin privileges on your managed computers.

#!/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;