The PAM_USB Project

pam_usb provides hardware authentication for Linux using ordinary USB Flash Drives.
It works with any application supporting PAM, such as su, any login manager (GDM, KDM), etc. The pam_usb package contains:

  • A PAM Module
    • Password-less authentication. Use your USB stick for authentication, don’t type passwords anymore.
    • Device auto probing.You don’t need to mount the device, or even to configure the device location (sda1, sdb1, etc). will automatically locate the device using HAL and access its data by itself.
    • Two-factor authentication. Achieve greater security by requiring both the USB stick and the password to authenticate the user.
    • Non-intrusive. pam_usb doesn’t require any modifications of the USB storage device to work (no additional partitions required).
    • USB Serial number, model and vendor verification.
    • Support for One Time Pads authentication.
    • You can use the same device accross multiple machines.
    • Support for all kind of removable devices (SD, MMC, etc).
  • Several tools
    • pamusb-agent: trigger actions (such as locking the screen) upon device authentication and removal.
    • pamusb-conf: configuration helper.
    • pamusb-check: integrate pam_usb’s authentication engine within your scripts or applications.


You can download the current stable release here: pam_usb-0.5.0.tar.gz


Registered users can edit the documentation. Please contribute to the pam_usb project by improving the documentation.

internet rule 34



pam_usb was written by Andrea Luzzardi <scox AT sig11 DOT org>

If you want to improve your writing, there is no better way than to buy samples from a trustworthy writing agency like
start.txt · Last modified: 2017/12/12 03:20