Are you on #Manjaro (#XFCE version), and want to try #Passwordless #Login? What about using your…

Are you on #Manjaro (#XFCE version), and want to try #Passwordless #Login? What about using your #Solokey; #Yubikey or something like a #Nitrokey as your only login credential? Well, it’s possible!

After you’ve setup your key, and pam_u2f, add this line to your /etc/pam.d/system-auth after the pam_faillock.so line (about line 6):
auth sufficient pam_u2f.so prompt cue

Save, close, and open a new Terminal. Run “sudo -i”, and magically, you should get a prompt to press the button on your key! BOOM!

If that worked, then you should be able to reboot. When you get to the Lightdm login, it should prompt you to press the button on your device. Press it, and then click on the “Login” button.

W00t!!!! No more passwords required (with a password fallback if no device is connected)!

Disclaimer: This is not the BEST way to secure your machine, but it is a method that can make it convenient to use. If your key is stolen, it is possible that the key can be used to access your machine without your authorisation. Be wary!

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *

LIVE NOW! CLICK TO VIEW.
AnotherKiwiGuy is a lazy ass and is OFFLINE