For those like me who forget that the Yubikey is set up for this kind of thing you can add a cue to /etc/pam.d/sudo to give you a message, instead of just the paused prompt.
auth sufficient pam_u2f.so cue [cue_prompt="Tap the Yubikey to Sudo"]
I like coding, vim, spending too much of my free time ricing configs, and terrible jokes. I learn things and share this knowledge with other nerds. Nice to e-meet you 🐇️
Thanks for this, A great walkthough.
For those like me who forget that the Yubikey is set up for this kind of thing you can add a cue to
/etc/pam.d/sudo
to give you a message, instead of just the paused prompt.auth sufficient pam_u2f.so cue [cue_prompt="Tap the Yubikey to Sudo"]
Developer Reference has some other good options to add if you need them too
Ah I never thought of this. Thank you for sharing!!