mac电脑卸载LVSecurityAgent

博主mac版本如下:

1.创建一个脚本

shell 复制代码
touch script_of_justice.sh

2.进入脚本文件,并且添加一下内容

shell 复制代码
vim script_of_justice.sh

echo 'delete shit.app..need your root pwd';
sudo rm -rf /Applications/dvc-manageproxy-exe.app;
sudo rm -rf /Applications/LVSecurityAgent.app;
echo 'script is fighting...';
sudo chflags noschg /opt/LVUAAgentInstBaseRoot;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/face;
sudo chflags noschg /opt/LVUAAgentInstBaseRoot/web;
echo 'delete shit.datafile..';
sudo rm -rf /opt/LVUAAgentInstBaseRoot;
echo 'kill shit.process..';
sudo ps -ef|grep -E 'LVUAAgentInstBaseRoot|dvc-manageproxy-exe' |grep -v "grep"|awk '{print $2}'|xargs sudo kill -9;
echo 'congratulations! You throw that shit!';

3.保存并且退出

shell 复制代码
:wq

4.给权限

shell 复制代码
chmod 755 script_of_justice.sh

5.执行脚本

shell 复制代码
./script_of_justice.sh
相关推荐
tobebetter952713 小时前
How to use homebrew on mac
macos·homebrew
信奥胡老师1 天前
苹果电脑(mac系统)安装vscode与配置c++环境,并可以使用万能头文件全流程
c++·ide·vscode·macos·编辑器
记忆偶然1 天前
语音转文本技术方案评估与工具选型指南
ide·macos·xcode
尽兴-2 天前
MacOS 一键清理指定目录下老旧node_modules
macos
雾蓝回针2 天前
[全网首发]解决Parallels Desktop运行“第五人格“时 使用涂鸦/快捷发言会导致视角偏移的问题
笔记·macos
这儿有一堆花2 天前
视频文件的技术逻辑解析
windows·macos
Sheffi663 天前
iOS Crash 本质与捕获修复方案
macos·ios·cocoa
喵霓3 天前
mac—android-platform-tools介绍
android·macos
malajisi013 天前
鸿蒙PC开发笔记一:HarmonyOS PC 命令行适配指南(Mac 版)
笔记·macos·harmonyos·harmony·鸿蒙pc·harmony pc