[Bug 1915779] [NEW] sudo: bad onwership of /usr/bin/sudo and /usr/lib/sudo/sudoers.so (2001:2501)
Andrea Righi
1915779 at bugs.launchpad.net
Tue Feb 16 06:25:20 UTC 2021
Public bug reported:
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.
** Affects: sudo (Ubuntu)
Importance: Undecided
Status: New
** Affects: sudo (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: sudo (Ubuntu Hirsute)
Importance: Undecided
Status: New
--
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:
New
Status in sudo source package in Hirsute:
New
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