On Sat, 5 Nov 2022 13:38:34 +0100 Ben Greiner wrote:
Am 05.11.22 um 12:32 schrieb Bob Williams:
On Sat, 05 Nov 2022 11:11:31 +0100 Ulf wrote:
Am Samstag, 5. November 2022, 10:49:35 CET schrieb Ben Greiner:
+++————————————————————————— ̣̣==== sudo ==== Subpackages: sudo-plugin-python
- Modified sudo-sudoers.patch * [bsc#1203978 jsc#PED-260] * Remove uncommented "Defaults targetpw" portion of /etc/sudo-sudoers file. * Sudo now asks for the password of the user calling sudo instead of the target (i.e. root) user. —————————————————————————++- Also, it is incomplete. There is no notion about the necessity to add the user to the wheel group. My expectation will be, that at least the default user (user id 1000 or the first user) will be included as user in the wheel group.
Ulf Being in the wheel group does not change anything:
11:28 bob@antikythera:~> sudo zypper dup [sudo] password for bob: bob is not in the sudoers file. This incident has been reported to the administrator. 11:28 bob@antikythera:~> groups bob bob : bob users wheel serviio vboxusers 11:28 bob@antikythera:~>
Reported to the administrator again! It reminds me of my school days. ;-)
Yes, sorry for being imprecise. You must either uncomment the following line in /etc/sudoers AND add your user to the wheel group
## Uncomment to allow members of group wheel to execute any command %wheel ALL=(ALL:ALL) ALL
OR add an appropriate line for your username either in /etc/sudoers or in an file in /etc/sudoers.d/
# cat /etc/sudoers.d/ben ben ALL=(ALL:ALL) ALL
And you should do this using the visudo command
- Ben
Ah. Thank you. The old behaviour has returned. ;-) Bob -- Bob Williams No HTML please. Plain text preferred. https://useplaintext.email/