Shoudlnt this be “admdo” or something like that?
It feels like a potential security nightmare. If your desktop at work is compromised and you have your domain admin come over and take a look; they might decide not to elevate the whole session, exercising appropriate caution and protocol in doing so, but just wing it with a quick sudo !! because the previous command didn’t go through.
I don’t quite remember if this works properly, but I think !! should expand to sudo “previous command” at least in bash.
They know they are losing a lot of the technical crowd…
Wsl, sudo … Maybe step by step windows will turn into Linux. For sure it would be an unexpected way for Linux to conquer the desktop market
So can you run
sudo rm -rf C:
to remove the malware now?No you can’t do that with administrator in windows.
Some things, windows just won’t let you do, even as an administrator.
🤡
Don’t need sudo to run
clown
What does the “cl” stand for?
Way to lazy to find a source but IIRC one of the Sudo devs said this was horrible because it’s “like Sudo” but not 1:1 so people will make assumptions about it that will lead to security issues
(Usually idc about security but for Sudo…)
Which is frustrating because 99% of the time people just want a way to run a command as admin without relaunching cmd as an admin.
Like that time they made their own Powershell imitation of curl? (before deciding it was an abomination and finally including stock curl, but not removing the old Powershell commandlet because of backwards compatibility so now
curl
andcurl.exe
are two different things and you’ll want the latter)Or renaming things for seemingly no reason.
Yeah that sounds like Microsoft.
FYI this has already been a thing for a long while thanks to an open source third-party implementation, and also works on Windows 10. I use it all the time, it’s very similar to Linux’s and I’ve never had any issues so far. Not sure if Microsoft’s official solution will be any different/better.
Is this just some sort of alias to “runas”?
I believe so, yeah. I used to have a script that would start a local Cassandra service and that’s what I had to use (because I didn’t want my live-in session of cmd to be admin 24/7.
Engineering 100
Enjinir
3rd party sudo for Windows https://github.com/janhebnes/chocolatey-packages/tree/master/Sudo
I love this lol
Yes?
peak comedy
Did they port the whole thing or just made something similar?
Made similar