← Back to team overview

desktop-packages team mailing list archive

[Bug 1451815] Re: lists users multiple time when requiring user authentication

 

For me the issue about getting duplicate names in the output was due to
the fact that my user was in both the "admin" and "sudo" group. Seems
like polkit first lists all user from the sudo group, then all users
from the admin group;  not checking if the same user was listed twice.

so after a quick
sudo gpasswd -d $USER admin

The duplicate no longer appear.

Hope this information is helpful.

//Rikard

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1451815

Title:
  lists users multiple time when requiring user authentication

Status in policykit-1 package in Ubuntu:
  Incomplete

Bug description:
  To reproduce

  systemctl restart <some unit>

  ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  Authentication is required to manage system services or units.
  Multiple identities can be used for authentication:
   1.  Sergio Callegari (callegar)
   2.  Sergio Callegari (callegar)
  Choose identity to authenticate as (1-2):

  Why is the same identity seen as two different identities?

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd 219-7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue May  5 14:50:15 2015
  EcryptfsInUse: Yes
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic root=/dev/mapper/DISK00-root ro quiet splash nomodeset video=uvesafb:mode_option=1024x768-16,mtrr=3,scroll=ywrap nomdmonddf nomdmonisw vt.handoff=7
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/21/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.10
  dmi.board.name: N68-S
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1451815/+subscriptions