1、launchctl print-disabled system | grep sangfor 查看是否被禁用,如果是true就是被禁用
2、sudo launchctl enable system/com.sangfor.EasyMonitor 启用命令
3、sudo launchctl load /Library/LaunchDaemons/com.sangfor.EasyMonitor.plist. 使生效
下载链接: https://pan.baidu.com/s/1aS80PPybj_oMS3EVOZqpZA?pwd=4cnw 提取码: 4cnw
来源:深信服内部论坛
Last login: Thu Nov 30 10:07:36 on ttys001
db@MacBook-Pro ~ % launchctl print-disabled system | grep sangfor
"com.sangfor.EasyMonitor" => true
"com.sangforEasyMonitor" => false
db@MacBook-Pro ~ % sudo launchctl enable system/com.sangfor.Easy.EasyMonitor
Password:
db@MacBook-Pro ~ % launchctl print-disabled system | grep sangfor
"com.sangfor.EasyMonitor" => true
"com.sangforEasyMonitor" => false
"com.sangfor.Easy.EasyMonitor" => false
db@MacBook-Pro ~ % sudo launchctl enable system/com.sangfor.EasyMonitor
db@MacBook-Pro ~ % launchctl print-disabled system | grep sangfor
"com.sangfor.EasyMonitor" => false
"com.sangforEasyMonitor" => false
"com.sangfor.Easy.EasyMonitor" => false
db@MacBook-Pro ~ % sudo launchctl load /Library/LaunchDaemons/com.sangfor.EasyMonitor.plist
db@MacBook-Pro ~ % launchctl print-disabled system grep sangfor
disabled services = {
"org.pqrs.karabiner.karabiner_grabber" => false
"com.omni.mac.utility.website.ntfs.HelperTool" => false
"com.netease.nemu-installer.smjob-retry-helper" => false
"com.sangfor.EasyMonitor" => false
"com.adobe.ARMDC.Communicator" => true
"com.apple.CSCSupportd" => true
"com.netease.nemu-installer.smjob-helper" => false
"com.youqu.todesk.service" => false
"com.oray.sunlogin.helper" => false
"com.apple.ftpd" => true
"com.apple.mdmclient.daemon.runatboot" => true
"org.cups.cupsd" => false
"com.netease.nemu.startup" => false
"com.sangforEasyMonitor" => false
"com.sangfor.Easy.EasyMonitor" => false
"org.pqrs.karabiner.karabiner_observer" => false
"com.oracle.java.Helper-Tool" => true
"com.apple.bootpd" => true
"com.microsoft.office.licensingV2.helper" => true
"com.oray.sunlogin.service" => true
"org.pqrs.karabiner.karabiner_kextd" => false
"com.adobe.ARMDC.SMJobBlessHelper" => true
"com.apple.ftp-proxy" => true
"com.adobe.acc.installer.v2" => true
"com.microsoft.autoupdate.helper" => true
"com.teamviewer.Helper" => true
}