Page 1 sur 1

[polkit] Authentification root refusée. (Résolu)

Publié : jeu. 29 janv. 2015, 12:40
par alh54
Bonjour,

Quand j'essaye de monter une partition du disque interne qui ne figure pas dans fstab l'agent d'authentification me demande le mot de passe:
- le mot de passe root est refusé
- le mot de passe utilisateur membre du groupe wheel est accepté, la partition est montée.

Code : Tout sélectionner

[hechmi@darine ~]$ pkaction --verbose --action-id org.freedesktop.udisks2.filesystem-mount
org.freedesktop.udisks2.filesystem-mount:
  description:       Mount a filesystem
  message:           Authentication is required to mount the filesystem
  vendor:            The udisks Project
  vendor_url:        http://udisks.freedesktop.org/
  icon:              drive-removable-media
  implicit any:      auth_admin
  implicit inactive: auth_admin
  implicit active:   yes
Je trouve ce comportement curieux, il me semble que auth_admin designe aussi bien root qu'un membre du groupe d'administrateurs.
Quelqu'un peut-il m'expliquer ce qui se passe?
Merci.

Re: [polkit] Authentification root refusée.

Publié : jeu. 29 janv. 2015, 14:25
par benjarobin
Bonjour,
Rien d'anormal. Le wiki explique bien tout ceci : https://wiki.archlinux.org/index.php/Polkit
Un extrait :
For each of these settings the following options are available:
no: The user is not authorized to carry out the action. There is therefore no need for authentication.
yes: The user is authorized to carry out the action without any authentication.
auth_self: Authentication is required but the user need not be an administrative user.
auth_admin: Authentication as an administrative user is require.
auth_self_keep: The same as auth_self but, like sudo, the authorization lasts a few minutes.
auth_admin_keep: The same as auth_admin but, like sudo, the authorization lasts a few minutes

Re: [polkit] Authentification root refusée.

Publié : jeu. 29 janv. 2015, 16:09
par alh54
Merci pour ta réponse, j'avais lu cela avant de poster, jecherchais la signification de "Authentication as an administrative user is require".
Je viens de relire le wiki, c'est effectivement expliqué dans la partie Administrator identities.