-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Asks for root password #6
Comments
I think that's how it works, do other polkit agents ask for the user password? |
From my understanding, if user belongs to the group that is allowed to execute a particular command polkit agent will prompt for user password. If user doesn't belong to a group that is able to execute the command it asks for root password. Edit: also it checks if user is able to perform the command without password prompt. |
that does not answer my question |
I used the KDE and Gnome agents before, and I was never asked for root password, only for my own. I was always in the ˋwheelˋ group (on Arch), if that makes a difference. Since I don't want my root account to have a password, I went back to the KDE agent for now, and that is asking for my user password. |
odd. |
patch.txt |
Yup that works for me to target the current user: |
I might misunderstand things, but my understanding is that polkit is for privilege escalation for the current user. This agent however doesn't accept my user's password, only the root password. I had root disabled, so it never worked for me, until I set a password for the root user. I'm certain this should not be the case.
(I installed hyprpolkitagent from the AUR)
The text was updated successfully, but these errors were encountered: