Skip to content
Discussion options

You must be logged in to vote

Using polkit rules to grant non-admin users additional privileges is generally right (that's the main purpose of polkit, after all). The problem is just that most cockpit pages are not expecting that -- they just check if the user can become root (via sudo), but almost all pages don't try to do an administrative action as normal user. (The only exception is the firewall page).

In many cases that's not even possible. E.g. the Accounts page calls programs like useradd or passwd, which don't support polkit. This is only possible for D-Bus APIs such as systemd. Specifically for the Services page we already have issue #16345 for that.

or at least restrict some of them even if the user is in A…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@knacky34
Comment options

Answer selected by martinpitt
Comment options

You must be logged in to vote
1 reply
@martinpitt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants