Skip to content

coopht/pam_auth_usb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simple pam module that uses usb device as an authentication source.

How to use

Get source code.

mkdir build
cd build
cmake ../pam_usb/
make
make install
~~~

Create pam_usb.conf in /etc/ with device description:

#sample configuration file manufacturer = LGE product = Nexus 5 serialNumber = 123456789abcd idVendor = 3d4c idProduct = 1a2b


Add of the corresponding pam module:
example for sudo:
auth    sufficient      pam_usb_auth.so

About

Example of simple pam authentication module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published