I recently purchased a Yubikey, and successfully set it up for two factor authentication for my password manager, KeepassXC.
I then tried to follow these instructions, to set it up for 2FA to logon to the computer and get root access:
https://developers.yubico.com/yubico...-Response.html
However, while it works to logon when I restart the computer, and when I switch to a new session, it does not work when I lock the computer and come back, even though I put in the correct password, and I have to restart the computer.
I tried uninstalling libpam-yubico, but then I tested trying to get sudo in a new terminal with just the password, and it doesn't accept my password. I kept a terminal with root, and tried changing the password, but when I open a new terminal, open Muon, etc. it still doesn't accept the password.
I am really afraid to turn off my computer, for fear that I will never be able to log on! What should I do?
Please help, I would really appreciate it.
I then tried to follow these instructions, to set it up for 2FA to logon to the computer and get root access:
https://developers.yubico.com/yubico...-Response.html
However, while it works to logon when I restart the computer, and when I switch to a new session, it does not work when I lock the computer and come back, even though I put in the correct password, and I have to restart the computer.
I tried uninstalling libpam-yubico, but then I tested trying to get sudo in a new terminal with just the password, and it doesn't accept my password. I kept a terminal with root, and tried changing the password, but when I open a new terminal, open Muon, etc. it still doesn't accept the password.
I am really afraid to turn off my computer, for fear that I will never be able to log on! What should I do?
Please help, I would really appreciate it.
Comment