Looks like Microsoft's new 'Sudo for Windows' is riddled with logical bugs and security issues 🤷‍♂️

https://www.tiraniddo.dev/2024/02/sudo-on-windows-quick-rundown.html

Sudo On Windows a Quick Rundown

Background The Windows Insider Preview build 26052 just shipped with a sudo command, I thought I'd just take a quick peek to see what it doe...

@serghei At some point I just can't help but to wonder, if you want sudo... maybe its time to switch OSes. It's not as if Windows didn't already have runas.exe along with other tools that I'm probably not personally aware of....
@serghei could you add alt text
@serghei Else it wouldn't be sudo! *ducks*
@leah @serghei Its only real sudo when its from Microsoft, otherwise its only privileged rights.

@serghei

I thought all along that this "sudo on Windows" was just some sort of marketing campaign

I don't profess to understand Windows in detail at all, and hardly use it any more, but when was a true UNIX/Linux superuser ever implemented in the first place, let alone anything one could "su" "do" to?

Or am I missing something entirely>

@serghei at least they did it properly then. It wouldn't be sudo without excessive complexity and security issues!

@serghei you know, I actually already fixed all those. The changes just haven't made it out to insiders builds yet.

(I'm the maintainer for sudo for windows, hi👋)

@serghei Another good reason to stick with Linux I guess.

@serghei calling it #sudo should.be illegal IMHO...

Because unlike other alternative implementations, it's not even a drop-in replacement...

#Microsoft could've just taken sudo as it already exists and compiled it with MSVC - which has already been done - and sign it with their keys...

@serghei

They should just use a Linux system as Windows 12, create an awful window manager with ads and add patches to wine for backward compatibility.