Selasa, 09 Februari 2021

How to Add Fingerprint Login in Ubuntu and Other Linux Distributions

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.

Prerequisite

This is obvious, of course. Your computer must have a fingerprint reader.

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.

Enable Fingerprint Ubuntu
Enable fingerprint login in Ubuntu

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.

Adding Fingerprint Login Ubuntu
Adding fingerprint

While adding the fingerprint, rotate your finger or thumb as directed.

Adding Fingerprint Ubuntu Linux
Rotate your finger

Once the system registers the entire finger, it will give you a green signal that the fingerprint has been added.

Fingerprint Added Ubuntu
Fingerprint successfully 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.

Login With Fingerprint Ubuntu
Login With Fingerprint in Ubuntu

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.

Disable Fingerprint Login
Disable Fingerprint Login

Fingerprint login does have some benefits, specially 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?



from It's FOSS https://ift.tt/3cYicHo
via IFTTT

Tidak ada komentar:

Posting Komentar