sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
Posted
by
7UR7L3
on Ask Ubuntu
See other posts from Ask Ubuntu
or by 7UR7L3
Published on 2013-04-02T04:33:32Z
Indexed on
2014/06/05
15:38 UTC
Read the original article
Hit count: 903
Whenever I try to do anything at all that requires my password it returns this:
u7ur7l3@ubuntu:~$ sudo
sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
sudo: fatal error, unable to load plugins
u7ur7l3@ubuntu:~$
So I can't install anything from the Software Center / package manager or run any commands in terminal that require my password. I can log in, but that's pretty much it.
I accidentally changed the permissions of some files, then changed some more trying to fix it :/. Now I'm completely lost as to what to do.
This is what happened when I tried to get sudo working again using pkexec:
u7ur7l3@ubuntu:~$ pkexec chown root /usr/lib/sudo/sudoers.so
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
u7ur7l3@ubuntu:~$ sudo ls
sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0 sudo: fatal error, unable to load plugins
And to change permissions I was using Root Actions as a dolphin service/ plugin thing, so history doesn't show me the permission changes.
I just realized that sounds don't work at all anymore. When I go into Phonon my default settings and playback devices aren't even there. Also I don't have the option to shutdown, I can only log out or leave.
© Ask Ubuntu or respective owner