Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkttyagent defaults to asking who I want to authenticate as #525

Open
greyltc opened this issue Nov 7, 2024 · 2 comments
Open

pkttyagent defaults to asking who I want to authenticate as #525

greyltc opened this issue Nov 7, 2024 · 2 comments

Comments

@greyltc
Copy link

greyltc commented Nov 7, 2024

Describe the bug
I am a user in the wheel group and when, for example, I run run0 I get this dialog:

Multiple identities can be used for authentication:
 1.  me
 2.  another_user_in_wheel_group
 3.  yet_another_other_user_in_wheel_group
Choose identity to authenticate as (1-3): 1

How likely is it that if I can authenticate as me, I'd want to do it as some other user? Probably very unlikely. pkttyagent should by default not display this pick list if the current user is in it and proceed with the authentication as the running user by asking for my password. I assume someone appreciates this list showing up every time, so we should be able to bring it back by changing a config setting to some non-default value.

To Reproduce
Use pkttyagent on a system with several users in the wheel group.

Expected behavior
pkttyagent shouldn't by default show a list of users to authenticate as if the current user would be in the list

Screenshots
n/a

Desktop (please complete the following information):

  • OS (including version): Arch Linux
  • Desktop Environment [Gnome, KDE, ...]: no DE installed
  • Version of polkit: 125
@jrybar-rh
Copy link
Member

Hello,
does the same thing happen even when you run another privileged action, e.g. systemctl restart polkit ?
I'm trying to triage the issue to see if the problem is in pkttyagent or, say, run0. Further investigation would require running a specific VM.

@greyltc
Copy link
Author

greyltc commented Nov 13, 2024

Hi, sorry for the delay. It's not just run0, systemctl restart polkit does the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants