Sudo owner changed to user #2001 after update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is a configuration bug that affects the hirsute-proposed version of sudo. This bug causes sudo when re-configuring, to assign to an unused user id that is neither the end user nor root. The result is that sudo will refuse to run, returning an error message that is displayed below:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
The reconfiguration is the last process that occurs in a normal update though because sudo will not be usable at this time, the su command with root password must be used instead for accessing root privileges.
If you have already upgraded from hirsute-release to hirsute-proposed and you are affected by this bug, please reinstall, and in release do sudo passwd root and then configure the password for the root account and then once update use su for the time being. Once the bug is fixed however please for security reasons delete the root account and use sudo for root privelages.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: sudo 1.9.5p2-2ubuntu1
ProcVersionSign
Uname: Linux 5.10.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu58
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 15 20:57:37 2021
InstallationDate: Installed on 2021-02-16 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210215)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sudo
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.
modified.
modified.