I use sudo on my linux workstation, and it is configured to request a password each time.
But typing the password every time is cumbersome and also a bit dangerous if I don't have the focus to the right window.
I'd like to configure sudo to have the following behaviour:
- If headless (no X11), request full password
- If X11 is available prompt for confirmation, the confirmation should be a gui window with an allow and deny button and some simple input (like type yes to confirm, to prevent hitting enter accidentally)