Last active
November 29, 2022 18:11
-
-
Save talkingmoose/54212732790fe150de3825c249c8eaa1 to your computer and use it in GitHub Desktop.
Commands from Apple's support page to enable all Remote Management options for a single user. https://support.apple.com/en-us/HT201710
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # start Remote Management | |
| /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate | |
| # enable access for specified users | |
| /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsers | |
| # specify users who can remotely access a machine and enable all privileges | |
| /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users teacher,student -access -on -privs -All | |
| # one-liner | |
| # turn on remote access, allow access for all users, allow remote users to request access and enable menu item | |
| /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -allUsers -clientopts -setreqperm -reqperm yes -setmenuextra -menuextra yes | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment