3

I was trying to delete a folder and messed up. I'm getting this error while I'm trying to use sudo:

sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory

How can I fix this?

Kevin Bowen
  • 20,055
  • 57
  • 82
  • 84
Saik94
  • 31

2 Answers2

0

When sudo not working:

pkexec chmod go-w /usr/lib/sudo/sudoers.so
pkexec chmod 0440 /etc/sudoers 

If problem is not solved you can check

The another answer. You can check both the linked , may help to solve your problem.

Videonauth
  • 33,815
0

I think you could open ubuntu software (gui) Search for "synaptic"

Install synaptic package manager .

open synaptic package manager and search for sudo Right click the mouse on sudo choose mark for Reinstallation Then click the big apply button I think sudo will work agin for you Kevin

bob
  • 101