Sudo owner changed to user #2001 after update

Bug #1915774 reported by Sebastian Horatio Stillion
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11
Uname: Linux 5.10.0-14-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu58
Architecture: amd64
CasperMD5CheckResult: unknown
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_DIR=<set>
 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.d/README: parsed OK
modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers']
modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/README']

Revision history for this message
Sebastian Horatio Stillion (sstillion) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.