Having recently got a device that has a fingerprint reader built in, I set to enabling fingerprint authentication. I have this is sudo
now, and this is useful in my terminal.
The issue I'm running into is that when I use emacs tramp to elevate privileges, it calls sudo
and waits for the fingerprint to be read (this does work, it just doesn't prompt anything). Where in a terminal I can Ctrl+C to go to password auth if I feel like it (all I did to /etc/pam.d/sudo
is add auth sufficient pam_fprintd.so
to the top), I can't here as with tramp that is nicely abstracted. I would prefer to just disable fingerprint auth for tramp, but keep it in normal sudo
. Is this possible?
I've looked things up and the only thing that spoke to me as a possible solution is using a different privilege escalator, such as su
or run0
, but those require the root password, which I have disabled. I could theoretically use doas
, but it feels weird installing a whole separate stack that I'll barely use...
Any help is appreciated
Place your finger on the fingerprint reader
, would it be possible to add that in to tramp? This prompt also times out after 30 seconds with the message:Verification timed out