The best thing to enable in /etc/sudoers:
I’ve seen penguins that can type better than that.
I just learned about insults, and that makes me extremely uncomfortable. Not because the insults themselves, but because supporting them is several lines too many, adding to the whole complexity of the tool, which should have only one purpose.
Agreed. They are definitely an artifact of a more innocent age.
I assume it’s (soon to be) a sudo plugin and not in the core.
That means sudo supports plugins, which is again more lines of code than needed :)
I’m wondering which plugins are out there and do people genuinely need them?
I’ve been using the doas port for Linux for a few monthes now, and it works like a charm.
I don’t have sudo installed anymore (I still need a sudo symlink to doas though on Debian 9).
The two admin approval thing seems interesting; could see that being useful in tandem with some kind of chatbot in a corporate setting.
In terms of “lesser known” sudo things: Defaults use_pty is a setting I would recommend turning on.
For some reason, that security risk is left unmitigated by default and would affect anyone using sudo to run certain programs as users without CAP_SYS_ADMIN or similar capabilities. think sudo -u nobody something
sudo -u nobody something
I still wonder how we ended up with consolekit/polkit/logind when the common use cases can be handled with sudo rules. i don’t really trust the whole dbus shenanigans.