sudo icon indicating copy to clipboard operation
sudo copied to clipboard

Feature request: Support for Windows 10

Open zadjii-msft opened this issue 1 year ago • 10 comments

We should backport Sudo to Windows 10. Ultimately, this shouldn't be too hard, but porting the settings app changes may be a bit of a pain.

This is internally, MSFT:48735673

zadjii-msft avatar Feb 06 '24 21:02 zadjii-msft

Sudo just runs on Windows 10. Configuration can be done via the command line tool itself. image So, that should clear up the first part of the problem. But I guess you would like to have a friendly config UI for it.

Jevil7452 avatar Feb 08 '24 19:02 Jevil7452

Yep! sudo.exe doesn't do anything Windows 11-specific. The Settings app changes are the hardest part (since there was a pretty massive UI rejuv between 10 and 11).

zadjii-msft avatar Feb 08 '24 20:02 zadjii-msft

When we get this backported to the Windows 10 branches, you can make sure we'll post here 😄

zadjii-msft avatar Feb 09 '24 02:02 zadjii-msft

I see sudo.exe is (currently) portable and works on Windows 10. So why ship it with windows? Why not ship it as a Winget package?

gerardog avatar Feb 09 '24 02:02 gerardog

Why not ship it as a Winget package?

That's certainly something to look at going forward. I'd want to make sure that the GPO stuff we have in-box with the OS is also something that could be delivered via winget. Otherwise, we'd have to consider the scenario where someone can install sudo, but then there's no way to manage it from an organization's standpoint. Something for us to work out in the coming months ☺️

zadjii-msft avatar Feb 09 '24 15:02 zadjii-msft

Any update on the winget front?

rbarbrow avatar Jun 30 '24 03:06 rbarbrow

Okay I definitely get that it's valuable - but I'm gonna go ahead and delete links to 3p builds of sudo. Sorry, I just think it's a terrible idea to have folks downloading builds from potentially untrusted third parties. Seems like a recipe for a supply chain vulnerability.

I'm back from vacation this week[^1]. Getting officially signed installers up on our releases page and winget is my priority this month.

[^1]: though, it's a pair of short weeks for me. So, things will be a bit slower than usual

zadjii-msft avatar Jul 01 '24 11:07 zadjii-msft

The original code is not modified, it is compiled by cloning the original repository, you can check the github action

El lun, 1 jul 2024, 13:58, Mike Griese @.***> escribió:

Okay I definitely get that it's valuable - but I'm gonna go ahead and delete links to 3p builds of sudo. Sorry, I just think it's a terrible idea to have folks downloading builds from potentially untrusted third parties. Seems like a recipe for a supply chain vulnerability.

I'm back from vacation this week1 <#m_3850150494985816041_user-content-fn-1-089848b151adfe8425ac3b456e3c296b>. Getting officially signed installers up on our releases page and winget is my priority this month. Footnotes

though, it's a pair of short weeks for me. So, things will be a bit slower than usual ↩ <#m_3850150494985816041_user-content-fnref-1-089848b151adfe8425ac3b456e3c296b>

— Reply to this email directly, view it on GitHub https://github.com/microsoft/sudo/issues/2#issuecomment-2199951315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQG6PDT4HSLXRGBMRYXORXDZKE75JAVCNFSM6AAAAABC4WSPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHE2TCMZRGU . You are receiving this because you commented.Message ID: @.***>

LeonardoIz avatar Jul 01 '24 12:07 LeonardoIz

IMO: Doesn't matter if it's not changed now. In the wake of the xz thing, I'm not gonna have folks take any chances on untrusted third-parties. Even ones that are well intended now may well later become compromised.

zadjii-msft avatar Jul 01 '24 13:07 zadjii-msft

It will be nice to have for Windows 10 and Windows Server too.

Neustradamus avatar Jul 27 '24 19:07 Neustradamus