You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A non-root user is granted permissions to start, stop and restart a specific systemd service without an interactive password request for the root password. With the previously mentioned commit this no longer works and the password of root is requested.
Desired behaviour
The expected behavior would be rule based authentication:
[testuser@host ~]$ systemctl start polkit_test.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to start 'polkit_test.service'.
Authenticating as: root
Password:
Reproducer
Create a simple service and define a rule which grants a non-root user permission to manage this without an interactive request for a password not-related to this user.
In gitlab.freedesktop.org by Atsutane on Sep 19, 2023, 16:21
Link to the original issue: https://gitlab.freedesktop.org/polkit/polkit/-/issues/205
Current behaviour, description of the problem
A non-root user is granted permissions to start, stop and restart a specific systemd service without an interactive password request for the root password. With the previously mentioned commit this no longer works and the password of root is requested.
Desired behaviour
The expected behavior would be rule based authentication:
What happens now is:
Reproducer
Create a simple service and define a rule which grants a non-root user permission to manage this without an interactive request for a password not-related to this user.
Detailed description
[Version of polkit]: git based 8cabb11
[Version of OS]: Arch Linux
[Anything else related to the issue]: #
The text was updated successfully, but these errors were encountered: