-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Users member of the netdev group not permitted to modify network #17339
Comments
I just tried updating to Web Console (did it change name?) 264 via backports. Still the same result. |
OK, but if the networking page does not do a polkit check, why has a user, that is member of the netdev group, not permissions to modify the network settings?. (I have added renderer: NetworkManager in the netplan yaml file) On the Privileges and Permissions page here: https://cockpit-project.org/guide/latest/privileges.html This does not seem to be correct? So if the above is the attention, what is then stopping a user in the netdev group from modifying networks via cockpit? BR Kasper |
The issue is that the UI hides the privileged operations if you are not in "admin" (i.e. |
So, if i want a user only to be able to modify the network, and nothing else, how should i do that? |
@Nordal : Sorry, you can't do this with cockpit right now. Please don't allow sudo access to |
Closing in favor of the more generic issue #17346 |
Explain what happens
Normally users of the netdev group should be able to modify network settings. This is not the case when using cockpit.
I checked polkit, and theres even a file allowing this:
[Adding or changing system-wide NetworkManager connections]
Identity=unix-group:netdev;unix-group:sudo
Action=org.freedesktop.NetworkManager.settings.modify.system
ResultAny=no
ResultInactive=no
ResultActive=yes
The same user can modify network with nmcli
Version of Cockpit
215
Where is the problem in Cockpit?
Networking
Server operating system
Ubuntu
Server operating system version
20.04.4
What browsers are you using?
Chrome
System log
No response
The text was updated successfully, but these errors were encountered: