You can use Touch ID for sudo

16 points by modulovalue


ryan-duve

I'm not sure what commands you need sudo for, but if you trust your agents with it then running sudo visudo and adding this to the bottom:

# Replace last term with your target command.
agent_user  ALL = (ALL) NOPASSWD: /usr/bin/gdb

will give your agents access to run just that command without being prompted. This is in addition to the Touch ID solution; it addresses y-fatigue by prompting you only for fingerprints when the agent is running something you haven't explicitly approved of in advance.

This year I've gotten into the habit of only running LLMs in containers which has been a nice alternative to worrying about it affecting my host OS.