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

Win-sudo 'UAC elevation was canceled' error #41

Open
fath0m opened this issue May 4, 2020 · 2 comments
Open

Win-sudo 'UAC elevation was canceled' error #41

fath0m opened this issue May 4, 2020 · 2 comments

Comments

@fath0m
Copy link

fath0m commented May 4, 2020

I just installed win-sudo on Windows 10 1909 OS build 18363.815, but once I try to do sudo or su, I always get an error of: UAC elevation was canceled.

Here's the input above:

fath0m@THINKPAD-T480S MINGW64 /
$ su
UAC elevation was canceled

and

fath0m@THINKPAD-T480S MINGW64 /
$ sudo echo 1
UAC elevation was canceled

Once I type a sudo command, it waits for a few seconds and then outputs the error.

@michaelchanwork
Copy link
Contributor

@fath0m I may have fixed this with my PR at #43, though I'm running into some other errors, feel free to give it a try.

@fath0m
Copy link
Author

fath0m commented Jul 24, 2020

@fath0m I may have fixed this with my PR at #43, though I'm running into some other errors, feel free to give it a try.

Thanks for the reply and effort. I didn't manage to make it work, so now I'm using https://www.npmjs.com/package/win-sudo and it is working perfectly.

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