Sample Header Ad - 728x90

MacOS: How can I unlock a system plist file to edit? [trying to get rid of a stray Netskope VPN entry]

1 vote
1 answer
1591 views
I'm trying to get rid of a stray Netskope Client (NSClient1) VPN entry that wouldn't go away. I found its traces only in /Library/Preferences/com.apple.networkextension.plist - this is the system's plist not my users. I'm the only user on the system and have admin privileges. However the file is locked and despite being an admin, I can't edit it. Can someone please help me figure out how do I edit this file (or remove the stray VPN entry)? Steps taken so far: (all result in operation not permitted or I don't have permissions to change) - tried to change permissions (via finder's get info option as well as chmod through the terminal) - tried to copy the file to the desktop, edit it and then replace - contacted Apple support (and they said it's not their problem - quite literally) - contacted Netskope (VPN support) and tried to run their uninstaller but that didn't work either [the VPN entry doesn't get listed when I run sudo networksetup -listallnetworkservices] I'm using macOS Sonoma 14.0 enter image description here enter image description here enter image description here
Asked by zaam (141 rep)
Oct 3, 2023, 01:39 AM
Last activity: Oct 3, 2023, 01:39 PM