Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoSudo support
Is there a way (maybe alias it?) to use the new CLI features to let you use biometrics to unlock sudo password prompts?
1Password Version: Not Provided
Extension Version: Not Provided
OS V...
Former Member
4 years ago@"Horia.Culea_1P" Yes, that scenario is the basis of my ask - I'm ssh'ed into another machine, get a sudo prompt and would love to somehow use my local biometric auth method to answer it. But even simpler is the local device. I open a command prompt, sudo and have a prompt. XIII above gave a pointer to one way (although I so far didn't get it to work), but it seems like it might be possible to use the 1password cli stuff to have it work.
puck
7 months agoNew Contributor
Anonymous, I recently developed a solution for exactly your use case.
`sudo` has `--askpass` option that calls an external program to get the password. It’s used primarily to launch some GUI tool, but it can also be utilized when SSH-ing into a remote host.
My full instructions here: https://lebkowski.name/sudo/