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

Issue: lack of feedback or prompt with no uac #221

Open
bouncydingbat opened this issue Dec 21, 2022 · 5 comments
Open

Issue: lack of feedback or prompt with no uac #221

bouncydingbat opened this issue Dec 21, 2022 · 5 comments

Comments

@bouncydingbat
Copy link

Issue Description

no prompt when gsudo with uac off, docs do not indicate these case or behavior.
still seem to elevate as expected but no user verify by reinput password.

Steps to Reproduce

  1. disable uac
  2. install gsudo
  3. gsudo anything

Screenshots

Context:

  • Windows version: Win 10 Pro 22H2
@gerardog
Copy link
Owner

What do you mean by "no prompt"? What were you expecting?

When you say UAC off, which specific configuration do you refer to? (UAC has a lot of possible ways to configure it, that you may call "UAC off")

Can you use screenshots to elaborate please?

Thanks

@jsmith9999d
Copy link

i think they mean in the readme gif uac pops up but they dont get that (regardless of how disables) or a password prompt in the terminal like sudo does. probably what they expect to see in this case @gerardog

@gerardog
Copy link
Owner

gerardog commented Dec 22, 2022

If you disable UAC and your user is admin, you will be running as admin already. The command will run, as stated in the readme

  • Supports being used on scripts:
    • If gsudo is invoked from an already elevated console, it will just run the command (it won't fail). So, you don't have to worry if you run gsudo or a script that uses gsudo from an already elevated console. (The UAC popup will not appear, as no elevation is required)

If your user is not admin, it will ask for credentials, with or without UAC enabled.

Do you think something else should be added to the docs? Please let me know. Thanks

@gerardog
Copy link
Owner

@bouncydingbat,

I appreciate hearing users trying the tool and what their first impressions are.
I want to improve things, but to do so I need to understand.

Could you just write down what you did and what happened?
Thanks

@gerardog
Copy link
Owner

gerardog commented Feb 1, 2023

Oh, the irony.... Not getting feedback on a 'lack of feedback' ticket.
I want to improve the experience but didn't know how.

btw, there is feedback if you use CMD:

image
image

For pwsh, I can't change the prompt...
But the window title changes
image
image

And is more noticeable if you use OhMyPosh or similar (see the ⚡)
image

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

3 participants