pam_usb icon indicating copy to clipboard operation
pam_usb copied to clipboard

Authentication failed for device. Keeping user locked down.

Open sgon00 opened this issue 6 years ago • 3 comments

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.

sgon00 avatar Dec 11 '17 06:12 sgon00

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.

sgon00 avatar Dec 11 '17 06:12 sgon00

Could you then please close this issue? It isn't really open anymore.

promasu avatar Jan 11 '18 21:01 promasu

@sgon00 Thanks man, it really did help me

teynav avatar Jul 11 '20 13:07 teynav