10-31-2019 10:49 AM - edited 02-21-2020 09:47 PM
So, here's the problem:
I did some digging (Googling), and I came across two suggestions. One is:
Open Terminal and do the following:
su
cd /opt/cisco/anyconnect/bin
ls (to see if there's a vpn_uninstall.sh file)
If there is, then run the following command:
sh vpn_uninstall.sh
Problem with this approach? When I hit su and enter I am greeted with "su: Sorry" And then when I enter
sh vpn_uninstall.sh I get the message "Sorry, you need super user privileges to run this sacript"
The second approach suggested running "sudo pkgutil --forget com.cisco.pkg.anyconnect.vpn"
When I do that I get:
"sudo: unable to stat /etc/sudoers: No such file or directory
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin"
So, I guess I am running into two problems here? One is that Anyconnect is not correctly uninstalled, and the second is that I cannot get super user privileges?
Any help appreciated, as I need VPN to work so I can do my job! TKS!
Raphael
10-31-2019 12:34 PM
Hey hope this helps:
For the admin user issue, please ensure the following for your account:
On your Mac, choose Apple menu > System Preferences, then click Users & Groups.
Click the lock icon to unlock it.
Enter an administrator name and password.
Select a standard user or managed user in the list of users, then select “Allow user to administer this computer.
Once verified, open a terminal and issue the following commands:
cd /opt/cisco/anyconnect/bin
chmod +x vpn_uninstall.sh <This will make the file executable>
vpn_uninstall.sh
If these do not work, try delete the /anyconnect directory.
Let me know if this helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide