I did not know this bug reported existed so I posted this as a "Answer"
report yesterday here:
https://answers.launchpad.net/ubuntu/+source/sssd/+question/824363

In that report I added the following steps on how to reproduce the issue
(using docker):

$ docker run -it --rm ubuntu:resolute
root # apt update
root # DEBIAN_FRONTEND=noninteractive apt -y install sudo
root # update-alternatives --set sudo /usr/bin/sudo.ws
root # useradd -g sudo -m -s /bin/bash testuser
root # passwd testuser
root # su - testuser
testuser $ sudo whoami
[sudo] password for testuser:
root
testuser $ DEBIAN_FRONTEND=noninteractive sudo apt -y install libsss-sudo
testuser $ sudo whoami
testuser is not in the sudoers file.


From my tests only sudo.ws is affected (which is what we use in our $ORG).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151950

Title:
  libsss-sudo: Can't sudo after installing libsss-sudo (due to broken
  nsswitch update)

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to