pam_usb
pam_usb copied to clipboard
Authentication failed for device. Keeping user locked down.
OS: Latest Arch Linux
If I unplug the USB, the gnome-screensaver can lock the screen. If I plug the USB again, it failed to unlock:
pamusb-agent[1395]: Device "mydevice" has been removed, locking down user "user"...
pamusb-agent[1395]: Running "gnome-screensaver-command --lock"
pamusb-agent[1395]: Locked.
pamusb-agent[1395]: Device "mydevice" has been inserted. Performing verification...
pamusb-agent[1395]: Executing "/usr/bin/pamusb-check --quiet --config=/etc/pamusb.conf --service=pamusb-agent user"
pamusb-agent[1395]: Authentication failed for device mydevice. Keeping user "user" locked down.
What is the problem? How can I workaround this issue? Thanks a lot. I tried several times and reboot the machine. nothing helps.
I fixed the problem by executing
sudo chmod u+s /usr/bin/pamusb-check
I figured it out by myself. I can not find any useful help online. Hopefully, this will help someone one day.
Could you then please close this issue? It isn't really open anymore.
@sgon00 Thanks man, it really did help me