이 문서는 아카이브 처리되었으며 Apple은 더 이상 이 문서를 업데이트하지 않습니다.

Apple Remote Desktop에서 kickstart 명령어 라인 유틸리티 사용하기

kickstart를 사용하면 원격 컴퓨터를 재시동하지 않고도 Apple Remote Desktop 명령을 실행할 수 있습니다.

kickstart를 사용하여 Apple Remote Desktop 환경설정을 설정합니다. 예를 들면 Apple Remote Desktop 구성요소를 설치, 제거, 활성화, 설정 및 재시동할 수 있습니다.

macOS Mojave 10.14 및 이후 버전에서 kickstart 명령어 라인 유틸리티를 사용하여 화면 공유를 통해 원격 Mac을 제어하는 방법에 대해 알아봅니다.

시작하기

다음 경로에서 kickstart 도구를 찾을 수 있습니다.

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

이 문서에 나와 있는 명령을 한 줄의 텍스트로 입력합니다. 텍스트를 입력할 때 텍스트가 줄바꿈되어도 괜찮습니다. 전체 명령을 입력하기 전에는 return 키를 누르지 마십시오.

kickstart 명령에 대한 자세한 내용을 보려면 다음과 같이 -help 플래그를 사용합니다.

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -help

예시 명령

이 문서에 나와 있는 명령은 Apple Remote Desktop 3.2 및 이후 버전에서 사용할 수 있습니다.

다음은 사용할 수 있는 예시 명령입니다.

  • 다음 명령은 ARD 에이전트 및 보조 프로그램을 다시 시작합니다.

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent

  • 다음 명령은 Remote Desktop 공유를 켜고, 모든 사용자의 접근을 허용하며, 기타 메뉴를 활성화합니다.

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -allUsers -privs -all -clientopts -setmenuextra -menuextra yes

  • 다음 명령은 Remote Desktop 공유를 켜고, 지정한 사용자의 접근을 허용합니다.

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsersYou must use the -configure, -access, and -privs options in a separate command to specify the set of users and their access privileges. For example, this command is for users with the short names "teacher" and “student." It gives them access to observe (but not control) the computer, and to send text messages:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users teacher,student -access -on -privs -ControlObserve -ObserveOnly -TextMessagesUnlike other kickstart options, you can’t combine the allowAccessFor options with other kickstart options. You must use it as in the last two samples above. You might have to call kickstart more than once to finish a computer’s setup.

  • 다음 명령은 지정한 사용자(이 예시에서는 'student')의 접근 권한을 제거합니다.

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users student -access -off

  • 다음 명령은 ARD 에이전트를 비활성화하고 모든 사용자의 접근 권한을 제거합니다.

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off

게시일: