/pam_microsd_login

Linux authentication with an SD card

Primary LanguageCMIT LicenseMIT

pam_microsd_login

Linux authentication with an SD card.

Install

make
sudo mv pam_microsd_login.so /lib/x86_64-linux-gnu/security/

Insert an SD card and run sudo ./pam_init_microsd username. As a result, microsd_token will be created in the home directory. Change the ACL permissions of the file with setfacl u:username:rw ~/microsd_token.