我知道我可以使用kickstart
从命令行配置 Apple Remote Desktop,但是,我在互联网上或 的帮助消息中找不到任何内容kickstart
来说明如何从命令行查看当前设置。有人知道我可以在哪里获得这些设置吗?
答案1
只需查看手册:
man /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart
内容如下:
sub Usage1 {
qq{ kickstart -- Quickly uninstall, install, activate, configure, and/or restart
components of Apple Remote Desktop without a reboot.
kickstart -uninstall -files -settings -prefs
-install -package <path>
-deactivate
-activate
-configure -users <user1,user2...>
-access -on -off
-privs -all -none
-DeleteFiles
-ControlObserve
-TextMessages
-ShowObserve
-OpenQuitApps
-GenerateReports
-RestartShutDown
-SendFiles
-ChangeSettings
-ObserveOnly
-mask <mask>
-allowAccessFor
-allUsers [-privs <priv options>]
-specifiedUsers
-computerinfo -set1 -1 <text>
-set2 -2 <text>
-set3 -3 <text>
-set4 -4 <text>
-clientopts
-setmenuextra -menuextra yes