On Fri, 2022-11-04 at 18:16 +0000, Bob Williams wrote:
I have just done a zypper dup to snapshot 20221103, and now sudo asks for my user password rather than root's password:
17:56 bob@antikythera:~> sudo zypper dup [sudo] password for bob:
which doesn't work as I am not in the sudoers group:
17:56 bob@antikythera:~> sudo zypper dup [sudo] password for bob: bob is not in the sudoers file. This incident has been reported to the administrator. 18:12 bob@antikythera:~>
This is not a showstopper as su - still works as expected.
Bob
## In the default (unconfigured) configuration, sudo asks for the root
These lines in /etc/sudoers should make that happen, do you have them? password.
## This allows use of an ordinary user account for administration of a freshly ## installed system. When configuring sudo, delete the two ## following lines: Defaults targetpw # ask for the password of the target user i.e. root ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
-- ~ Scott Bradnick |- Windows Subsystem for Linux (WSL) Developer |-- Tumbleweed: |--- Dell Precision 5540 [NVIDIA Quadro T1000] (x86_64) |--- O-DROID H2+ [UHD Graphics 600] (x86_64) |--- IceWhale ZimaBoard 832 [Intel HD Graphics 500] (x86_64) |--- 2x Raspberry Pi 4 Model B Rev 1.2 (aarch64) |--- 1x Raspberry Pi 3 Model B Rev 1.2 (aarch64) |--- WinBook TW100 (x86_64) https://keys.openpgp.org/ :: DBC5AA9A2D2BAEBC