Apple Remote Desktop'ta kickstart komut satırı izlencesini kullanma
Apple Remote Desktop komutlarını uzaktaki bilgisayarı yeniden başlatmadan yürütmek için kickstart'ı kullanabilirsiniz.
Apple Remote Desktop tercihlerini ayarlamak için kickstart komutunu kullanın. Örneğin, Apple Remote Desktop bileşenlerini yükleyebilir, kaldırabilir, etkinleştirebilir, ayarlayabilir ve yeniden başlatabilirsiniz.
macOS Mojave 10.14 ve sonraki sürümlerinde uzaktaki bir Mac'i Ekran Paylaşma ve kickstart komut satırı izlencesiyle
Kullanmaya başlayın
Kickstart aracını şu konumda bulabilirsiniz:
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart
Bu makaledeki komutları tek bir metin satırı olarak yazın. Siz komutları girdikçe metin aşağı satıra kayabilir ve bu bir sorun yaratmaz. Komutun tamamını girene kadar Return tuşuna basmayın.
Kickstart komutuyla ilgili daha fazla bilgi edinmek için -help işaretini kullanın:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -help
Örnek komutlar
Bu makaledeki komutlar Apple Remote Desktop 3.2 ve sonraki sürümlerinde çalışır.
Kullanabileceğiniz komutlar şunlardır:
ARD Aracısını ve yardımcıyı yeniden başlatma:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
Remote Desktop Paylaşma özelliğini açma, tüm kullanıcılara erişim izni verme ve menü ekini etkinleştirme:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -allUsers -privs -all -clientopts -setmenuextra -menuextra yes
Remote Desktop Paylaşma özelliğini açma ve belirli kullanıcılara erişim izni verme:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsers
You 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 -TextMessages
Unlike 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.Belirtilen kullanıcılar (bu örnekte "student") için erişim ayrıcalıklarını kaldırma:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -users student -access -off
ARD Aracısını etkisizleştirme ve tüm kullanıcıların erişim ayrıcalıklarını kaldırma:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off