Root access to NetworkManager

I am using Opensuse 12.3 - KDE. I want to avoid entering my kwallet password at each reboots in order to activate my wlan connection.
Setting the connection as “system connection” does the trick however in order to modify the connection I need root access.
opening a root terminal using either su or su - <password> then typing NetworkManager or /usr/sbin/NetworkManager does not open any configuration dialog.

All the docs that I can find say the same thing “To create and edit system connections, root permission is required.”
root permission is not required to create a system connection it’s just a check mark in a box.

My question is how can I obtain root permission to edit a connection previously marked as system connection?

Forgive my ignorance.

Thanks

You can set an empty password for the wallet. Then kwallet won’t ask for a password.

Setting the connection as “system connection” does the trick however in order to modify the connection I need root access.
opening a root terminal using either su or su - <password> then typing NetworkManager or /usr/sbin/NetworkManager does not open any configuration dialog.

All the docs that I can find say the same thing “To create and edit system connections, root permission is required.”
root permission is not required to create a system connection it’s just a check mark in a box.

My question is how can I obtain root permission to edit a connection previously marked as system connection?

Of course you need root permissions when you want to edit a system connection.
But you should automatically get a window asking for the root password when trying to edit it. Doesn’t that appear?

Some addition: even if you use kwallet without a password, all passwords/keys etc will be stored in the wallet, instead of plain text in the configuration files.
If you declare a connection a “system connection” you will need the root password, same for making changes to it. Plus, the connection can only be used by the current user, you would have to explicitely allow other users to use the connection.

wolfi323 wrote:

> But you should automatically get a window asking for the root password
> when trying to edit it. Doesn’t that appear?
>

I frequently find that password dialog opens BEHIND the other panel - hiding
itself.


Will Honea

Indeed the password dialog was hidden behind the network management settings dialog.

Thanks for the quick help.

imabe wrote:

>
> Indeed the password dialog was hidden behind the network management
> settings dialog.
>
> Thanks for the quick help.

One other thing to consider. If you make a particular connection the only
wireless connection marked as both “System connection” and “Connect
automatically” you will find that this connection will be completed during
the boot-up and desktop initialization processes - by the time the desktop
is available the connection will have been quietly established if you are
within range of that default AP. If you are out of range, the connection
will fail and you can pick another AP and connect manually through the
Network manager. I have a couple dozen APs with only the home base set to
connect automatically AND as system connection. I do get asked for the
wallet password (once) while roaming because NM normally needs the WPA
password for each AP anyway.

Thanks for the info.