Many high-end laptops come with fingerprint readers these days. Windows and macOS have been supporting fingerprint login for some time. In desktop Linux, the support for fingerprint login was more of geeky tweaks but GNOME and KDE have started supporting it through system settings.
This means that on newer Linux distribution versions, you can easily use fingerprint reading. I am going to enable fingerprint login in Ubuntu here but you may use the steps on other distributions running GNOME 3.38.
This method works for any Linux distribution running GNOME version 3.38 or higher. If you are not certain, you may check which desktop environment version you are using.
KDE 5.21 also has a fingerprint manager. The screenshots will look different, of course.
Adding fingerprint login in Ubuntu and other Linux distributions
Go to Settings and the click on Users from left sidebar. You should see all the user account on your system here. You’ll see several option including Fingerprint Login.
Click on the Fingerprint Login option here.
It will immediately ask you to scan a new fingerprint. When you click the + sign to add a fingerprint, it presents a few predefined options so that you can easily identify which finger or thumb it is.
You may of course scan left thumb by clicking right index finger though I don’t see a good reason why you would want to do that.
While adding the fingerprint, rotate your finger or thumb as directed.
Once the system registers the entire finger, it will give you a green signal that the fingerprint has been added.
If you want to test it right away, lock the screen by pressing Super+L keyboard shortcut in Ubuntu and then using the fingerprint for login.
Experience with fingerprint login on Ubuntu
Fingerprint login is what its name suggests: login using your fingerprint. That’s it. You cannot use your finger when it asks for authentication for programs that need sudo access. It’s not a replacement of your password.
One more thing. The fingerprint login allows you to log in but you cannot use your finger when your system asks for sudo password. The keyring in Ubuntu also remains locked.
Another annoying thing is because of GNOME’s GDM login screen. When you login, you have to click on your account first to get to the password screen. This is where you can use your finger. It would have been nicer to not bothered about clicking the user account ID first.
I also notice that fingerprint reading is not as smooth and quick as it is in Windows. It works, though.
If you are somewhat disappointed with the fingerprint login on Linux, you may disable it. Let me show you the steps in the next section.
Disable fingerprint login
Disabling fingerprint login is pretty much the same as enabling it in the first place.
Go to Settings→User and then click on Fingerprint Login option. It will show a screen with options to add more fingerprints or delete the existing ones. You need to delete the existing fingerprints.
Troubleshooting: I don't see a fingerprint option
If you are sure that your laptop has a fingerprint reader and yet you don't see the option to enable Fingerprint in user account settings then it's a driver issue.
Please check the manufacturer of the fingerprint reader with this command:
lsusb
Read the output in detail and see if you see something about Fingerprints. Once you know the manufacturer, you can search on the internet and see if your distribution or kernel version supports your fingerprint.
For example, My Dell XPS came with Shenzhen Goodix fingerprint reader.
It worked till Ubuntu 20.04 as you can see above. But the later Ubuntu versions don't support it.
Apparently, there is no newer driver but the old driver still works. If you have the same Shenzhen Goodix fingerprint reader, you can try following the instructions in this Reddit post.
Did you figure out the finger?
Fingerprint login does have some benefits, especially for lazy people like me. I don’t have to type my password every time I lock the screen and I am happy with the limited usage.
Enabling sudo with fingerprint should not be entirely impossible with PAM. I remember that when I set up face unlock in Ubuntu, it could be used with sudo as well. Let’s see if future versions add this feature.
Do you have a laptop with fingerprint reader? Do you use it often or is it just one of things you don’t care about?