kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

sudo approval from kr #270

Open pryorda opened 5 years ago

pryorda commented 5 years ago

Do you guys know of a way to make kr send a notification for sudo access? I assume you could probably update something in pam but not 100%

RichieFrame commented 4 years ago

It would be something along the lines of adding something like:

auth required pam_u2f.so

to /etc/pam.d/sudo

This makes the huge assumption that you have a PAM plugin for Krypton named pam_u2f.so, and I am under the impression that a krd linked PAM plugin does not exist at the moment