I know sudo can be setup with NOPASSWD so that it will not ask for a password when executed.
This is more of a security for a person with ADHD/ADD rather than 'best security' - I understand the false sense of security compared to a full blown password prompt.
I do want to be prompted, but I'd like a more 'Windows' like approach of either:
- Get a yes/no prompt for elevation.
- Better yet, be prompted for a PIN/alternative secret - that is short.
- Even better yet, approve action via a USB connected Yubico key.
Is there such a solution?