policies and knetworkmanager

Hi
I got trouble to connect my laptop (HP620) in wifi mode with knetworkmanager.

Policykit ask me for root password, i put it ( i am sur no keybord error) and after 3 attemps close windows.

where is stock root password for dbus ?
is it possible to take off policies ?
regards

What version of openSUSE

FYI: https://dl.dropbox.com/u/10573557/SUSE%20Misc/kde-wireless-new.png

Hi
sorry Opensuse 12.1 64 bits with KDE4 4.8.5
policykit 0.9-36
Knetworkmanager :0.9.1.90

I have this message at boot :
error … see systemctl status networkmanager.service for détails

Hi Enthalpie. I don’t understand your issue with the KDE network manager yet, but can you please navigate to

YaST >> Network Devices >> Network Settings >> Global Options

and tell us if ‘User Controlled with Network Manager’ is checked?

> Policykit ask me for root password, i put it ( i am sur no keybord
> error) and after 3 attemps close windows.

you don’t tell us what desktop environment you use, but you do mention
knetworkmanager so i assume you are using KDE…if that is the case,
then i tell you that here when i try to connect to a wi-fi i am not
asked for the root password by “Policykit” but, instead by either
KWallet or something else known to me to ‘manage’ passwords on my system…

i have at least three different looking pop-ups that (in general) say
something like “provide the unlock value” or “the application is
requesting authentication”…and, in all of those cases the root
password is NOT the authentication being asked for–nor is it my user
password used to log into KDE…but rather it is something
different…for example, KWallet has its own unique password…and, that
is the one i must give to authorize the wifi connection…

i’m not absolutely certain i know exactly what is asking for which
password–but if the popup actually asks for the “root password” then
i’m a bit confused…and, wonder have you made any customizations to
policykit or your systems general security settings?

could you do a screen shot of whatever it is that is asking for the root
password and post that to http://susepaste.org/ and then return the URL
address back to this thread.

otherwise, if the thing asking doesn’t actually say “root” password,
then try the password you set for KWallet…

OH and maybe you are faced with a network manager asking for the
password to access the wi-fi itself…all (except those open to the
general public without login in) have such…have you provided the wi-fi
ID and Password to network manager yet? if not be sure and do it, CAF
gave you some hints on what to do…

once you do that the ID/Pass will usually go into KWallet which you will
then have to unlock next time…

there may be a policykit involved, but if so i have never seen it come
up and ask for the root password.


dd

Hi
yes of corse unstead it will controled by ifup and i can’t use knetworkmanager to manage connections
regards

you don’t tell us what desktop environment you use, but you do mention
knetworkmanager so i assume you are using KDE…if that is the case,

Yes they did. See post #3

Like DD has suggested, do you mean the kwallet password, rather than the polkit password perhaps? PolicyKit (now Polkit) only determines whether or not a user has the necessary permission to create or edit system connections (as opposed to user-defined connections). So, hence the root password when attempting to configure.

@ DD
thank’s for triing to help me

I have try to put my password instead of root password but it is the same thing.
thank’s for the information about images storage
please find it
SUSE Paste

Your root password should have authenticated you. Lets have a look at a couple of polkit configurations

cat /etc/polkit-1/localauthority.conf.d/50-localauthority.conf

You should have the default entry

[Configuration]
AdminIdentities=unix-user:0

What gets reported by the following?

pkaction --action-id org.freedesktop.NetworkManager.settings.modify.system --verbose

For reference, I get

org.freedesktop.NetworkManager.settings.modify.system:
  description:       Modify network connections for all users
  message:           System policy prevents modification of network settings for all users
  vendor:            NetworkManager
  vendor_url:        http://www.gnome.org/projects/NetworkManager
  icon:              nm-icon
  implicit any:      no
  implicit inactive: no
  implicit active:   auth_admin_keep

If i can try to make a resume of what append and so help you to find solution
knetworkmanger start. try to connect to my prefered wifi. in Knetworkmanager windows i see all operation, asking for Ip adresse and at this moment a pop up windows ask root password. i give it 3 time (because is wrong) and so the connection is dropped in knetworkmanager.
what is funny is wired connection run perferctly

hope my poor English is enough for understand my problem
regards

@ deno_ferrarri

please find what you are asking for

HP620-linux:/home/download/netgear # cat /etc/polkit-1/localauthority.conf.d/50-localauthority.conf

Configuration file for the PolicyKit Local Authority.

DO NOT EDIT THIS FILE, it will be overwritten on update.

See the pklocalauthority(8) man page for more information

about configuring the Local Authority.

[Configuration]
AdminIdentities=unix-user:0

HP620-linux:/home/download/netgear # pkaction --action-id org.freedesktop.NetworkManager.settings.modify.system --verbose
org.freedesktop.NetworkManager.settings.modify.system:
description: Modify network connections for all users
message: System policy prevents modification of network settings for all users
vendor: NetworkManager
vendor_url: NetworkManager - Linux Networking made Easy
icon: nm-icon
implicit any: no
implicit inactive: no
implicit active: auth_admin_keep

That all looks okay. Can you test your root password in a terminal eg

sudo whoami

I just want to be sure that you are typing it correctly.

What does the following return?

ck-list-sessions

hi
oh yes i type correctly root password
find the result for the command

quote :

bernard@HP620-linux:/home/download/netgear> ck-list-sessions
Session1:
unix-user = ‘1000’
realname = ‘bernard’
seat = ‘Seat1’
session-type = ‘’
active = TRUE
x11-display = ‘:0’
x11-display-device = ‘/dev/tty7’
display-device = ‘’
remote-host-name = ‘’
is-local = TRUE
on-since = ‘2012-09-21T12:09:55.941703Z’
login-session-id = ‘4294967295’

You mentioned that you had PolicyKit installed, but KDE actually uses polkit now… is this from a recent upgrade on your part from an ealier version of openSUSE? Or maybe some other package you have installed does require it?

Let’s see what polkit packages you have installed

# rpm -qa |grep polkit

and maybe your configured repos too

zypper lr -d

Hi
your arre very nice to help me thank’s
firrts rpm :

HP620-linux:/home/bernard # rpm -qa |grep polkit
libpolkit-qt-1-1-0.99.1-16.3.1.x86_64
polkit-doc-0.102-2.2.1.noarch
polkit-default-privs-12.1-10.11.1.noarch
gconf-polkit-3.2.0-2.2.2.x86_64
libpolkit0-0.102-2.2.1.x86_64
rubygem-polkit-0.2.0-5.1.2.x86_64
polkit-0.102-2.2.1.x86_64
polkit-kde-kcmmodules-1-0.98.1+git20110929-1.2.x86_64
polkit-kde-agent-1-0.99.0-10.3.1.x86_64

second zypper

zypper lr -d

| Alias | Nom | Activé | Rafraîchir | Priorité | Type | URI | Service

—±-----------------------±---------------------------±-------±-----------±---------±-------±--------------------------------------------------------------------------±-------
1 | KDE | KDE | Oui | Oui | 99 | rpm-md | Index of /repositories/KDE:/Release:/48/openSUSE_12.1 |
2 | Mozilla | Mozilla | Oui | Oui | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_12.1 |
3 | VLC | VLC | Oui | Oui | 99 | rpm-md | Index of /pub/vlc/SuSE/12.1/ |
4 | driver:wireless | driver:wireless | Oui | Oui | 99 | rpm-md | Index of /repositories/driver:/wireless/openSUSE_12.1 |
5 | google-earth | google-earth | Oui | Oui | 99 | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64 |
6 | java. | java. | Oui | Oui | 99 | rpm-md | Index of /repositories/Java:/packages/openSUSE_12.1 |
7 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4 | Oui | Non | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-hp_CDDVDW_TS-L633N_R3186GGZ378451 |
8 | repo-debug | openSUSE-12.1-Debug | Oui | Oui | 99 | yast2 | Index of /debug/distribution/12.1/repo/oss |
9 | repo-debug-update | openSUSE-12.1-Update-Debug | Oui | Oui | 99 | rpm-md | Index of /debug/update/12.1 |
10 | repo-non-oss | openSUSE-12.1-Non-Oss | Oui | Oui | 99 | yast2 | Index of /distribution/12.1/repo/non-oss |
11 | repo-oss | openSUSE-12.1-Oss | Oui | Oui | 99 | yast2 | Index of /distribution/12.1/repo/oss |
12 | repo-source | openSUSE-12.1-Source | Oui | Oui | 99 | yast2 | Index of /source/distribution/12.1/repo/oss |
13 | repo-update | openSUSE-12.1-Update | Oui | Oui | 99 | rpm-md | Index of /update/12.1 |

On 09/21/2012 01:06 PM, Enthalpie wrote:
>
> ‘SUSE Paste’ (http://susepaste.org/79926778)

please tell us the operating system and version you are running network
manager in…

i ask because the image you post clearly indicates that Microsoft
Windows is in some way involved in your question.

in what way, please?!

hmmmmm, i wonder how much experience you have with linux, like: i wonder
do you know that in Windows these three root passwords are the same:

mypassword
MYPASSWORD
MyPassWord

but they are absolutely not the same in Linux, instead they are three
very different passwords.

ah yes Deano, now i see KDE was specified…sorry.


dd

Hi I am linux user 102258 since 1998. i have start with Suse 5.x
if there is a windows on the screen it is because I use virtual box for some programs unavailable under linux
i wellkown the fact passwords are case sensitive i was network manager in french utilities and i installe the almost first netware network in France in 85 ’

please a screen shot from my pc with the windows asking for password

SUSE Paste

On 09/21/12 10:16, Enthalpie pecked at the keyboard and wrote:
> please a screen shot from my pc with the windows asking for password
>
> ‘SUSE Paste’ (http://paste.opensuse.org/10206996)
>
>
Could the following possibly be why root’s passwd is being asked for:

CODE***

YaST
Network Settings
Select ifup option (so you can edit card settings, don’t for get to set
back when done)
Select card to edit and click on edit button
C\lick on General tab
Select "Enable Device Control for non-root user


This may stop the system for asking for root’s passwd when making changes.