Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

enableARD.sh -- Enable ARD and Configure Remote Management Settings

Synopsis

sudo enableARD.sh
sudo enableARD.sh <mountPoint> <computerName> <currentUsername> <targetUsername>

If the $targetUsername parameter is specified (parameter 4), this is the account that will be granted access to ARD.

If no parameter is specified for parameter 4, the hardcoded value in the script will be used.

Description

This script enables and configures remote management settings for a user. There are a number of options that the script is capable of configuring, which should be specified in the privs string. Please see the kickstart man page for more information. The following options are available in the kickstart application: -DeleteFiles -ControlObserve -TextMessages -ShowObserve -OpenQuitApps -GenerateReports -RestartShutDown -SendFiles -ChangeSettings -ObserveOnly -mask ARD access is granted and priviliges are assigned to an individual account on computers running Mac OS X 10.3 and later. It can be used with a hardcoded value in the script, or read in as a parameter. Since the Casper Suite defines the first three parameters as (1) Mount Point, (2) Computer Name and (3) username, we are using the forth parameter ($4) as the passable parameter. We do not use $3 since it may not match up to the username that we want to grant access for.

Download

Preview

Generating Preview...

2789 Downloads
Uploaded: 11/5/11 at 5:15 PM by jake
Product: Apple Remote Desktop