Configure fingerprint to replace password in Ubuntu

Configure fingerprint to replace password in Ubuntu

how to configure fp module in ubuntu for faster and easier sudo permission tasks

ยท

1 min read

In the latest version of Ubuntu 22.04, Ubuntu by default includes fingerprint login. Although under the hood pam-auth module takes care of the authentication stuff. I will not go into details but in this blog, we will see how you can configure fingerprint authentication to make your life much more easier.

NOTICE: If you like to use passwords this is not for you. but if you are lazy like, follow this simple hack.

type sudo pam-auth-update in your terminal. Pam configuration module should pop up on the screen. It should look like this one.

This was the default before I made any changes. Just tick the second option that states Fingerprint Authentication and press OK (for navigating use the space bar for selection and the tab for navigation)

After that, for any sudo operation just place your finger in your device fingerprint sensor and save the day.

Now when you type any kind of command in your terminal that requires sudo permission, just place the registered finger in the sensor and bobs the uncle.

Peace.