Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication failed for device. Keeping user locked down. #40

Open
sgon00 opened this issue Dec 11, 2017 · 3 comments
Open

Authentication failed for device. Keeping user locked down. #40

sgon00 opened this issue Dec 11, 2017 · 3 comments

Comments

@sgon00
Copy link

sgon00 commented Dec 11, 2017

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
Copy link
Author

sgon00 commented Dec 11, 2017

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.

@promasu
Copy link

promasu commented Jan 11, 2018

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

@teynav
Copy link

teynav commented Jul 11, 2020

@sgon00 Thanks man, it really did help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants