Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Networkmanager Requires Root Privileges

  1. #1

    Default Networkmanager Requires Root Privileges

    Fresh install of openSUSE 12.1 (both 32 and 64 bit) KDE.

    Upon the first login, tried connection to my wireless network and Networkmanager requested for root privileges before allowing to connect to wireless router. As far as I can remember, believe that root privileges is not required in 11.2 or other distribution.

    Connection to wireless router by normal user is denied.

    Is this happening to your installation and any idea if this is normal?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    4,976
    Blog Entries
    3

    Default Re: Networkmanager Requires Root Privileges

    Yes, this is normal with this new version of NetworkManager.

    I don't like it either. It seems wrong.

    Previously, network definitions were kept in your local user files. Now they are being kept centrally in a root owned directory. That change is reasonable. But requiring the root password to setup a connection is just a bad idea.

    You are at a coffee shop. You want to connect to their wireless. So you have to give the root password at a place where everything you do is being videotaped. Not good.
    opensuse factory; KDE 4.13.80 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  3. #3

    Default Re: Networkmanager Requires Root Privileges

    I'm not sure what my problem is, but it does seem to be network related, so maybe this is as good a place as any to post.

    I did a fresh install of 12.1 LIve KDE 64-bit. Did a software update and as far as I can tell downloaded and installed two (2) package updates: PackageKit and Flash. Now supposedly fully updated, according to PackageKit.

    Firefox works fine for web-surfing, as does Flash. All appears to be working.

    My problem is: no Networking icon at bottom right desktop. And Network Connections (Wired) shows NO connections.

    What should I do next?

    Michael

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    4,976
    Blog Entries
    3

    Default Re: Networkmanager Requires Root Privileges

    Quote Originally Posted by mjrice View Post
    My problem is: no Networking icon at bottom right desktop. And Network Connections (Wired) shows NO connections.
    Go into Yast --> Network Devices --> Network Settings

    Check whether you are in "ifup" mode or are using NetworkManager. If you are in "ifup" mode, you can change to NetworkManager if you want the icon at the bottom right. If you make that change, you might have to reboot before the network begins working again.

    I'm not sure whether that is your problem, because your description is a bit vague.
    opensuse factory; KDE 4.13.80 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    21,934

    Default Re: Networkmanager Requires Root Privileges

    On 2011-11-20 00:16, mjrice wrote:
    >
    > I'm not sure what my problem is, but it does seem to be network related,
    > so maybe this is as good a place as any to post.


    On a new thread.

    > Firefox works fine for web-surfing, as does Flash. All appears to be
    > working.


    So you have network.

    > My problem is: no Networking icon at bottom right desktop. And Network
    > Connections (Wired) shows NO connections.


    You probably are using system setup, via ifup. Your network is fixed? Then
    don't change it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  6. #6
    Join Date
    Jun 2008
    Location
    Kentucky, USA
    Posts
    492

    Default Re: Networkmanager Requires Root Privileges

    I was having same problem as the OP. Root password was required to even "make" a connection. I finally got mad and just deleted my wifi card in Yast>network settings. After I rebooted, and the card reconfigured, this bug was gone. I was able to make connections as user.
    Klaatu Barada Nikto

  7. #7
    Join Date
    Jun 2009
    Location
    Pennsylvania, USA
    Posts
    218

    Default Re: Networkmanager Requires Root Privileges

    nrickert wrote:

    >
    > Yes, this is normal with this new version of NetworkManager.
    >
    > I don't like it either. It seems wrong.
    >


    It's worse than wrong, it's insecure. And it makes a laptop useless
    for anybody without the root password (like everybody else in my
    family). The current implementation won't even allow 'sudo' use.

    And how would a business operate? Normal users don't get root access.

    If everybody is forced to use root access, they might as well be
    running WinDoh!s.




  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    4,976
    Blog Entries
    3

    Default Re: Networkmanager Requires Root Privileges

    Quote Originally Posted by GeoBaltz View Post
    It's worse than wrong, it's insecure.
    Quote Originally Posted by GeoBaltz View Post
    If everybody is forced to use root access, they might as well be
    running WinDoh!s.
    I totally agree on both points.
    opensuse factory; KDE 4.13.80 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,439

    Default Re: Networkmanager Requires Root Privileges

    With 11.4 (and I'm assuming the same for 12.1), the NetworkManager policies can be set by editing the permissions of a few .pkla files located in /var/lib/polkit-1/localauthority/10-vendor.d/

    Code:
    ls -la org.freedesktop.network-manager*
    -rw-r--r-- 1 root root 245 Oct  5 20:49 org.freedesktop.network-manager-settings.system.hostname.modify.pkla
    -rw-r--r-- 1 root root 227 Oct  5 20:49 org.freedesktop.network-manager-settings.system.modify.pkla
    -rw-r--r-- 1 root root 230 Oct  5 20:49 org.freedesktop.network-manager-settings.system.wifi.share.open.pkla
    -rw-r--r-- 1 root root 240 Oct  5 20:49 org.freedesktop.network-manager-settings.system.wifi.share.protected.pkla

  10. #10
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,035
    Blog Entries
    16

    Default Re: Networkmanager Requires Root Privileges

    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •