![如何在命令行中使用 kickstart 或其他程序来查看 ARD 设置?](https://linux22.com/image/1374727/%E5%A6%82%E4%BD%95%E5%9C%A8%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%B8%AD%E4%BD%BF%E7%94%A8%20kickstart%20%E6%88%96%E5%85%B6%E4%BB%96%E7%A8%8B%E5%BA%8F%E6%9D%A5%E6%9F%A5%E7%9C%8B%20ARD%20%E8%AE%BE%E7%BD%AE%EF%BC%9F.png)
我知道我可以使用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