Public bug reported:

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']

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute package-from-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1915774

Title:
  Sudo owner changed to user #2001 after update

Status in sudo package in Ubuntu:
  New

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']

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1915774/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to