Skip to content

Commit

Permalink
Posting Remote Management TCC profile
Browse files Browse the repository at this point in the history
Posting Remote Management TCC profile, for use with ARD's kickstart command-line utility: https://support.apple.com/HT209161
  • Loading branch information
rtrouton committed Oct 15, 2018
1 parent 3f580a1 commit 01c19ff
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Privacy Settings Whitelist - Apple/Remote Management/README.txt
@@ -0,0 +1,16 @@
The command below will use tccprofile.py to generate a whitelist profile with the following characteristics:

Allow Post Event control:

/System/Library/CoreServices/RemoteManagement/ScreensharingAgent.bundle

Used with the kickstart command-line utility on macOS Mojave to allow remote observation and control:

https://support.apple.com/HT209161


Command used with tccprofile.py to generate the profile:

/path/to/tccprofile.py --post-event "/System/Library/CoreServices/RemoteManagement/ScreensharingAgent.bundle" --allow --payload-description="This profile allows Allow Control mode when starting Apple Remote Management via kickstart" --payload-identifier="com.company.appleremotemanagement.tcc.privacy.whitelist" --payload-name="Privacy Settings Whitelist - Apple Remote Management" --payload-org="Company Name" --payload-version="1" -o Apple_Remote_Management_Control_And_Observe_v1.mobileconfig


@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>This profile allows Allow Control mode when starting Apple Remote Management via kickstart</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Apple Remote Management</string>
<key>PayloadIdentifier</key>
<string>com.company.appleremotemanagement.tcc.privacy.whitelist.220EF6C5-D07A-11E8-ADF6-D0817ADA38E4</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadType</key>
<string>com.apple.TCC.configuration-profile-policy</string>
<key>PayloadUUID</key>
<string>220EF6C5-D07A-11E8-ADF6-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>Services</key>
<dict>
<key>PostEvent</key>
<array>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.apple.screensharing.agent" and anchor apple</string>
<key>Comment</key>
<string>Allow PostEvent control for ScreensharingAgent</string>
<key>Identifier</key>
<string>com.apple.screensharing.agent</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
</array>
</dict>
</dict>
</array>
<key>PayloadDescription</key>
<string>This profile allows Allow Control mode when starting Apple Remote Management via kickstart</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Apple Remote Management</string>
<key>PayloadIdentifier</key>
<string>com.company.appleremotemanagement.tcc.privacy.whitelist</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadScope</key>
<string>system</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>221000F0-D07A-11E8-811E-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>

0 comments on commit 01c19ff

Please sign in to comment.