无法删除钥匙串

已解决 提问者:着迷 · 江苏省苏州市 电信

我的钥匙串中有一个Sophos钥匙串,这是一个杀软安装的,卸载掉这个杀软后,钥匙串中有残留,为只读文件,然后怎幺都删不掉,重新安装上这个杀软并执行删除时,提示修改需要密码,输入密码居然无效,有没有什幺办法能强行删除,谢谢!

最佳答案

回答者青梅煮酒
回答时间2021-04-01

从国外论坛找到的答案,已经成功,主要是找到/Library/Preferences/com.apple.security-common.plist删除其中的sophos部分,它会提示你只能另存,选择另存,然后更改扩展名为.plist,把它拖至/Library/Preferences/目录,选择覆盖。即可原文如下——————————Tofixthisyouhavetomanuallyeditthefile/Library/Preferences/com.apple.security-common.plist,asroot,anddeletethecorrespondinghardcoded<dict>...Sophos...</dict>entryinthere.Greatcaremustbetakenbecauseyoucantotallyscrewupyoursystem(-keychain)ifyouleaveanyerrorsinsidethis.plistfile.Thesectionthatneedstobedeletedlooksasfollows:<dict><key>DbName</key><string>/Library/SophosAnti-Virus/Sophos.keychain</string><key>GUID</key><string>{someUUIDstringhere}</string><key>SubserviceType</key><integer>6</integer></dict>Uponsave,thereshouldnolongerbeany"Sophos"entryinKeychainAccessorasoutputofsecuritylist-keychains.Iusedvimanddeletedtheoffendinglinesas(sudovim/Library/Preferences/com.apple.security-common.plist)butyoumayuseanytextorplisteditoryoulike-Ifranklydon'tknowwithoneisthemostaccessible(recommendationswelcome).

0

其它回答(2)

  • 达人

    MacOSX10.6:解决钥匙串的问题MacOSX10.6:删除钥匙串在MacOSX中还原钥匙串设置-Apple支持

    0
  • 安逸

    完全没用喔,里面的方法我都试过了,那个Sophos有点像空目录,而且右键它只有新建和添加

    0

我来回答

帮助