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

Configurable Default User #182

Closed
samba2 opened this issue Sep 28, 2022 · 5 comments · Fixed by #188
Closed

Configurable Default User #182

samba2 opened this issue Sep 28, 2022 · 5 comments · Fixed by #188

Comments

@samba2
Copy link

samba2 commented Sep 28, 2022

Description

For more convenience, particularly within scripts, it would be nice if I could specify a default user which is then already filled in when gsudo asks for the elevated privileges.

Example:

gsudo -u myAdminUser

would present me with a credential dialog where myAdminUser is already filled in as the user.

@gerardog
Copy link
Owner

The user can't be prefilled on the Windows UAC popup. So at first sight, this is not doable.
But, this could be part of a bigger effort. I am slowly making up my mind about a design that could make this work.

Bottom line: this may take a while. But I take your feedback (and others, like #150) into consideration.
Please be patient...

@samba2
Copy link
Author

samba2 commented Sep 29, 2022

All good. This is not urgent

@gerardog gerardog linked a pull request Oct 20, 2022 that will close this issue
@samba2
Copy link
Author

samba2 commented Oct 23, 2022

Tnx @gerardog for working on this. Will try it out as soon as possible

@gerardog
Copy link
Owner

Hi @samba2!
You are welcome. Several people requested this so eventually it was first on the list.
And sorry, I did not meant to close the issue yet. My intention was to keep it open until release, but GitHub closed it automatically when I merged the code.
This will be available in the next release, which may be out today or tomorrow.

@gerardog
Copy link
Owner

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

Successfully merging a pull request may close this issue.

2 participants