Discover How To Learn Tips And Tricks HOWTOs
How To Login With A USB Flash Drive Instead Of A Password On Linux Using pam_usb (Fork)
pam_usb is a PAM module that provides hardware authentication for Linux using ordinary USB flash drives, SD cards, MMC, etc. Learn how to use pam_usb to login with a USB flash drive in this Linux Uprising tutorial.
Using this, you'll be able to login without a password, by simply connecting a USB stick or memory card to your computer. This USB authentication also works when running terminal commands that require superuser - you will not be prompted for a password when using sudo for example.
pam_usb works with any application supporting PAM, such as login managers (GDM, Lightdm, etc.), and su / sudo.