-
-
Notifications
You must be signed in to change notification settings - Fork 140
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: Windows 24H2 Has Sudo #346
Comments
After watching the YouTube video, it seems like it is only for a process and you can't pass pure The one feature that stood out was a mode that would disable the standard-in of the elevated process. Does |
Microsoft is not using any new Api's, at least yet, which makes it similar to gsudo, and also backwards compatible to win 10. Already documented here. Microsft sudo vs Gsudo. Basically
Implementing that one is a one way road. Once implemented, then the users will expect
I can't blame them on that one. But... their customers are gsudo users plus... or people who hasn't discovered gsudo yet. I think gsudo helped break the mental barrier that prevented microsoft from implementing it.
I implemented it two years ago. It is documented here. The naming is not really catchy: Let's talk actionable items:
|
I think adding an option to keep the "sudo" alias is a good and high-priority item. |
I added a config setting, that when toggled will ensure gsudo path appears first in the PATH in #353. Alternatively, I could name the config option something like I believe that overriding Ms-Sudo should NOT be the default, An opt-in is preferrable. Scripts or people may want to use In #354, I've added a brief description to Next goal, make gsudo arguments compatible with |
Pre-Release available: |
v2.5.0 is out. Anything else to address, or any other idea? |
I just now noticed that gsudo lacks a nice beautiful icon, like it's done in microsoft sudo |
Yeap. I lack the skills to make a beautiful one... |
Issue Description
https://devblogs.microsoft.com/commandline/introducing-sudo-for-windows/
Not sure if there needs to be special concessions for this? It appears it has to be enabled by the users manually. It appears Windows is using sudo as the application name. Maybe a check on install of gsudo can check for it? Maybe this should all be handled in Chocolately or Winget or Scoop itself?
Just starting the convo...I also assume Windows is using the same techniques as gsudo? I wonder if there are any exposed APIs that could be leveraged in gsudo?
Steps to Reproduce
Screenshots
Context:
The text was updated successfully, but these errors were encountered: