On Fri, 30 Jun 2017 06:27:33 +0300, Andrei Borzenkov wrote:
29.06.2017 21:35, Istvan Gabor пишет:
Hello:
I noticed that network-manager configured networks are different for different users. I would like to make a default system setup and I want that network-manager offers every user the same choices.
I would like to setup some default connections as admin. All users should see the same default connections, able to start and stop those connections but not able to modify the connections (add new connection or remove connection). (That is, I would like to imitate the previous smpppd/kinternet/ifup combo behavior with nm.)
How to do this in Leap 42.2? Does it matter which nm-applet is run (kde or gtk)?
By design NM allows each user to define own connections.
This is the reason I haven't been using nm before. I used ifup method that I configured in yast, and I used kinternet. kinternet and corresponding smpppd were packages in opensuse that made opensuse superior to other linux OSs for me. Unfortunatley since openSUSE 13.2 smpppd and kinternet have been removed. Even DSL connection cannot be set up in yast anymore, only wired connection. This resulted in the situation where a user cannot start and stop a connection if ifup method is used, that is I have to use nm if I want to be able to connect to and disconnect from the network as normal user.
If you want to restrict it, you need to use polkit to deny or restrict following actions
org.freedesktop.NetworkManager.settings.modify.global-dns org.freedesktop.NetworkManager.settings.modify.hostname org.freedesktop.NetworkManager.settings.modify.own org.freedesktop.NetworkManager.settings.modify.system
I will look into this. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org