Am Dienstag, 8. November 2022, 11:10:29 CET schrieb Ludwig Nussel:
What are people's expectations and what is sudo designed for exactly?
Sudo is designed to let user A execute commands as user B, without having to know the password of user B. And this is exactly what "Defaults targetpw" breaks, but what anyone who deals with other UNIX variants (not just linux, but UNIX) would know and expect. I actually remember that "Defaults targetpw" was actually introduced at some point after suse had been following the design principle of sudo for years, and I remember how I was surprised by that - because it basically turns sudo into a glorified su. In actual fact, with "Defaults targetpw" there is not even any NEED to have sudo at all - just use su and be done with it. I *do* agree with the general feeling of "this could have been handled better", tho. I think somewhere in this thread there was a suggestion of putting the "Default targetpw" in a config snippet in /etc/sudoers.d and packaging it as a subpackage - that would be pretty good. Cheers MH -- Mathias Homann Mathias.Homann@openSUSE.org OBS: lemmy04 Jabber (XMPP): lemmy@tuxonline.tech Matrix: @mathias:eregion.de IRC: [Lemmy] on liberachat and ircnet (bouncer active) keybase: https://keybase.io/lemmy gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102