-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
yubico-piv-tool only works as root user on Ubuntu 24.04 #504
Comments
None of the yubico-piv-tool commands should require root access. What is the error you get when running it on Ubuntu 24.04? |
When running as a normal user, the "yubico-piv-tool -astatus" returns the following output
I'm seeing these errors in /var/log/syslog
I was able to create a polkit rule to allow the user that needs access like this
I am now able to run the yubico-piv-tool commands as the user specified in the rule. I'm curious about your thoughts on this as a solution/workaround. Thanks! |
@lspiehler With Gentoo, I had to start the pcscd service to do operations as a user. Could you check if pcscd service is started? |
The command "yubico-piv-tool -astatus" runs successfully as a non-root user on Ubuntu 20.04. On Ubuntu 24.04, I can only get it to work as root. What permissions are required for a non-root user to run yubico-piv-tool on Ubuntu 24.04?
The text was updated successfully, but these errors were encountered: