Last active
December 26, 2015 10:49
-
-
Save rdeavila/7139754 to your computer and use it in GitHub Desktop.
Este método funciona em 99% dos casos, mas existem algumas situações onde este método não é suficiente. Ele habilita o Compartilhamento de Tela por habilitar o Gerenciamento Remoto; no entanto, perdemos a possibilidade de adicionar mais controles, como quem pode conectar, e quem não pode.
This file contains 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/bash | |
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment