[Bug 1915779] Re: sudo: bad onwership of /usr/bin/sudo and /usr/lib/sudo/sudoers.so (2001:2501)
Jean-Baptiste Lallement
1915779 at bugs.launchpad.net
Tue Feb 16 06:37:29 UTC 2021
*** This bug is a duplicate of bug 1915250 ***
https://bugs.launchpad.net/bugs/1915250
** Changed in: sudo (Ubuntu Hirsute)
Importance: Undecided => Critical
** Tags added: rls-hh-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1915779
Title:
sudo: bad onwership of /usr/bin/sudo and /usr/lib/sudo/sudoers.so
(2001:2501)
Status in sudo package in Ubuntu:
Confirmed
Status in sudo source package in Hirsute:
Confirmed
Bug description:
After enabling the -proposed ppa in Hirsute (21.04) I'm getting the
following error:
ubuntu at hirsute:~$ sudo su -
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
ubuntu at hirsute:~$ ls -l /usr/bin/sudo
-rwsr-xr-x 1 2001 2501 190952 Feb 10 11:42 /usr/bin/sudo
I had a root session open so I could fix it by manually setting user
and group ownership back to root.
After that I noticed that also /usr/lib/sudo/sudoers.so had the wrong
ownership:
ubuntu at hirsute:~$ sudo su -
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
sudo: fatal error, unable to load plugins
I manually fixed also this one and now my system seems to work
normally.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1915779/+subscriptions
More information about the foundations-bugs
mailing list