policykit prompts don't use sensible defaults (current user should be default)

Bug #437508 reported by Steve Langasek
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
policykit-1 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: policykit-1

Every time update-manager prompts me for authentication information now, I have to manually select my current username from the list of available admin users. This is not sensible default behavior; if the current user is an admin user, it should be prepopulated in the pulldown list.

ProblemType: Bug
Architecture: amd64
Date: Sat Sep 26 22:32:09 2009
DistroRelease: Ubuntu 9.10
Package: policykit 0.9-4ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
SourcePackage: policykit
Uname: Linux 2.6.31-10-generic x86_64

Revision history for this message
Steve Langasek (vorlon) wrote :
Changed in policykit-1 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
amk (9-launchpad-mikus-sk) wrote :

If the current user is admin, the dialog shall prompt for his password directly.
A list of admin users makes sense only if the current user is not admin.

In Ubuntu 16.04, after adding second administrative user there is a drop-down but password entry is disabled before selecting the other admin and then back myself.

Revision history for this message
Mauro Miatello (mauro-miatello) wrote :

this behaviour is no more enabled, ubuntu 18-19-20 ask always the password of the first admin created. I think this is wrong.

Revision history for this message
abssorb (abssorb) wrote :

Still present (and very annoying) in 20.04.

Possible workaround (this bug unassigned for 11 years)
https://nirebu.com/blog/customise-polkit-user-list-default-current

Revision history for this message
Vegard Søbstad Alsli (alslinet) wrote (last edit ):

Now it in my case will always select an administrator that none of the users on the device has rights to use anyway. This problem got worse, not better.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.