gerardog/gsudo

Issue: lack of feedback or prompt with no uac

bouncydingbat opened this issue · 5 comments

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

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

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

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

@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

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