Win-sudo 'UAC elevation was canceled' error
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.
@fath0m I may have fixed this with my PR at https://github.com/imachug/win-sudo/pull/43, though I'm running into some other errors, feel free to give it a try.
@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.