Results 1 to 5 of 5

Thread: how to get rid of "System policy prevents modification of network settings for all users"

  1. #1

    Default how to get rid of "System policy prevents modification of network settings for all users"

    using plasma5, how can I get rid of "System policy prevents modification of network settings for all users" message when a user try to connect to a wi fi network??
    I tried this fron google
    change in /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy

    located the following line of code:
    System policy prevents modification of network settings for all users
    at the end of section
    change
    Code:
    <allow_active>auth_admin_keep</allow_active>
    in
    Code:
    <allow_active>yes</allow_active>
    it doesn,t works

    I changed all the three lines at the bottom of section in
    Code:
    <allow_any>yes</allow_any>
          <allow_inactive>yes</allow_inactive>
          <allow_active>yes</allow_active>
    but it doesn't works.
    how can I solve??

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,899
    Blog Entries
    1

    Default Re: how to get rid of "System policy prevents modification of network settings for all users"

    Read this guide:
    https://doc.opensuse.org/documentati...policykit.html

    Your custom rules should be added to /etc/polkit-1/rules.d/

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,899
    Blog Entries
    1

    Default Re: how to get rid of "System policy prevents modification of network settings for all users"

    A simple (openSUSE-specific) way to do this is also described under the section "Modifying Configuration Files for Implicit Privileges" in that guide.

    Edit /etc/polkit-default-privs.local and add the following entry
    Code:
    org.freedesktop.NetworkManager.settings.modify.system auth_admin_keep:yes:yes
    Save then run (as root)
    Code:
    /sbin/set_polkit_default_privs
    It will take effect next time you log out and log back in again.

  4. #4

    Default Re: how to get rid of "System policy prevents modification of network settings for all users"

    Quote Originally Posted by deano_ferrari View Post
    A simple (openSUSE-specific) way to do this is also described under the section "Modifying Configuration Files for Implicit Privileges" in that guide.

    Edit /etc/polkit-default-privs.local and add the following entry
    Code:
    org.freedesktop.NetworkManager.settings.modify.system auth_admin_keep:yes:yes
    Save then run (as root)
    Code:
    /sbin/set_polkit_default_privs
    It will take effect next time you log out and log back in again.
    manythanks deano it worked, but now (may be also before but..) to store wi fi password I had to store for all users becouse storing for "this user only" doesn't works... may be becouse I disable kde wallet??

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,899
    Blog Entries
    1

    Default Re: how to get rid of "System policy prevents modification of network settings for all users"

    Quote Originally Posted by pier_andreit View Post
    manythanks deano it worked, but now (may be also before but..) to store wi fi password I had to store for all users becouse storing for "this user only" doesn't works... may be becouse I disable kde wallet??
    Yes, if you're configuring as a system connection then you need need to store the password for all users ie in the connection configuration file itself.

Posting Permissions

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