241
Sudo is coming to Windows 11 (devblogs.microsoft.com)
submitted 2 years ago* (last edited 2 years ago) by starman@programming.dev to c/technology@lemmy.world

Hello Windows Insiders, today we are releasing Windows 11 Insider Preview Build 26052 to the Canary and Dev Channels.

Insiders in the Canary Channel will receive Build 26052.1000 while Insiders in the Dev Channel will receive Build

top 50 comments
sorted by: hot top controversial new old
[-] redcalcium@lemmy.institute 180 points 2 years ago

"Let's give our new command line app the same name as a popular linux command even though it's not the same app and behaves differently. I'm sure our users would appreciate it when they have problem with the app and trying to search the solution later."

[-] stoy@lemmy.zip 69 points 2 years ago

To be consistent with Powershell's command structure, they should call it "Get-Access" or something similar...

[-] bionicjoey@lemmy.ca 71 points 2 years ago

Given the horrible verbosity of PS utils, I'd expect they just abandon subtlety and call it Substitute-User-Do-Operation

load more comments (1 replies)
[-] starman@programming.dev 40 points 2 years ago* (last edited 2 years ago)

"Because we are Microsoft, the company known for giving its products perfectly reasonable and not confusing names"

[-] mynamesnotrick@lemmy.zip 7 points 2 years ago* (last edited 2 years ago)

Sentinel, Defender (not the AV, lol), Entra. I hear these daily in meetings and don't know what the hell they are. (Not my job)

[-] egonallanon@lemm.ee 4 points 2 years ago

Sentinel is MS's SEIM product, defender is likely people referring to their paid av offering, Entra is what they renamed AzureAD recently which is their identity management platform. Not sure why they renamed the last one azureAD was a good name for it.

[-] wizardbeard@lemmy.dbzer0.com 6 points 2 years ago

Maybe because they were getting tired of hearing from admins frustrated that Azure AD still doesn't have full feature parity with "normal" AD? Now it's clearly a separate product at least.

[-] Deebster@programming.dev 6 points 2 years ago* (last edited 2 years ago)

I think Google's the worst for this. Examples such as the browser Chrome, when browser chrome has been a thing for a long time. Go, a very common verb and keyword and also now a programming language. Not to be confused with their Go Links, which was a URL shortener. And then there's all the ones they either rebrand or retire and/or replace.

Perhaps they want confusing names because they think other search engines can't handle the ambiguity.

[-] yetAnotherUser@feddit.de 6 points 2 years ago

To be honest, other programming languages aren't named any better

Pascal is just a common name, Rust is a common noun, Java is an island which you cannot find by searching for just its name, Python's a snake, C# is a musical note and C is just a letter.

[-] Nyfure@kbin.social 23 points 2 years ago

afaik they also alias common linux/gnu commands like curl.. but the syntax isnt like curl at all

[-] OmnislashIsACloudApp@lemmy.world 29 points 2 years ago

I definitely spent a frustrated 45 minutes trying to figure out why curl wasn't working when it was supposed to be supported in PowerShell.

then I hit tab a couple of times and noticed curl.exe was an option, that works exactly the same as I had expected with original syntax.

they do this to a lot of things though a lot of common commands end up being an alias to a powershell command with a specific option set that doesn't always line up

[-] tabular@lemmy.world 11 points 2 years ago

I wonder which sudo Bing will default to find 🤔

[-] billiam0202@lemmy.world 7 points 2 years ago

Phil Collins, probably.

load more comments (6 replies)
[-] krimson@feddit.nl 75 points 2 years ago* (last edited 2 years ago)
[-] Gestrid@lemmy.ca 4 points 2 years ago

Sudo is the "please" of Linux.

load more comments (1 replies)
[-] Liome@pawb.social 65 points 2 years ago

Windows is not in sudoers file. This incident will be reported.

load more comments (1 replies)
[-] wesker@lemmy.sdf.org 47 points 2 years ago
[-] Glitchington@lemmy.world 34 points 2 years ago

They are tired of right clicking Command Prompt to "Run as Administrator". They've been doing it for decades, they can have one tiny piece of QoL improvement.

[-] answersplease77@lemmy.world 43 points 2 years ago

I bet you not even sudo could remove edge. edge is like the breathing lungs and thinking brain and balls of computer

[-] javasux@lemmy.world 31 points 2 years ago

HTTP is stored in the balls

[-] TonyTonyChopper@mander.xyz 26 points 2 years ago* (last edited 2 years ago)

"This action is forbidden. The incident has been reported."

And then MS sends goons to your house to break your legs

[-] isles@lemmy.world 7 points 2 years ago

That's an unpalatable response - instead you're sentenced to 10 hours of Browser Reeducation classes

[-] UsernameIsTooLon@lemmy.world 4 points 2 years ago

You used to be able to >winget uninstall Microsoft.Edge

But the problem is Edge would still come back every time Windows had an update.

load more comments (2 replies)
load more comments (1 replies)
[-] Treczoks@lemmy.world 39 points 2 years ago

And, knowing Windows, won't let you do as much as a real sudo would anyway. There are so many f-ing things that even Admin is not allowed to do on a Windows box, it is simply annoying. "Oh no, you cannot remove Edge! This would threaten the stability of the universe!"

[-] BaardFigur@lemmy.world 19 points 2 years ago

"Oh no, you cannot remove Edge! This would threaten the stability of the universe!"

We'll be able to in April, due to EU regulations 🥳

[-] Treczoks@lemmy.world 8 points 2 years ago

Amazing, isn't it? Just a bit of legal pressure, and impossible things suddenly are easy to do.

[-] HarriPotero@lemmy.world 29 points 2 years ago

Do you remember when Microsoft tried to patent sudo?

Pepperidge farm remembers.

[-] psud@lemmy.world 4 points 2 years ago

Sounds exactly like the common graphical implementations of sudo

[-] xavier666@lemm.ee 28 points 2 years ago

It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console.

Yeah Microsoft, how exactly is it familiar for Windows users? 😜

[-] farcaller@fstab.sh 12 points 2 years ago

Honestly, it's hardly newsworthy given how sudo was a thing in windows for quite a while now. I use it pretty often, especially sudo pwsh for elevated shells.

[-] kometes@lemmy.world 12 points 2 years ago

alias sudo=runas

Wow, so exciting.

[-] nix@merv.news 9 points 2 years ago

Its been a thing for a while on windows 10 as well https://github.com/gerardog/gsudo

[-] Granixo@feddit.cl 8 points 2 years ago
[-] ransomwarelettuce@lemmy.world 8 points 2 years ago

I been using gsudo for quite sometime, the default way to leverage privaliges in Windows is cancer, the whole shell is tbh.

[-] iAvicenna@lemmy.world 6 points 2 years ago

ah finally our imposters are in senior positions

[-] Curdie@lemmy.world 5 points 2 years ago

Do ssh-copy-id next please.

[-] Phrey@lemmy.sdf.org 4 points 2 years ago
load more comments (1 replies)
[-] devilish666@lemmy.world 4 points 2 years ago

Honestly idc about sudo in windows bc i already disable the UAC totally, so... everything in my windows run as root like Windows XP era

[-] wizardbeard@lemmy.dbzer0.com 8 points 2 years ago

You do you, but it's not anywhere as rough of an experience leaving it enabled as things used to be back then. This also exponentially increases the risk factor that some malware will fuck your shit right up.

I also wouldn't advertise it either. Like telling facebook that you never lock your door.

load more comments (3 replies)
load more comments (1 replies)
[-] BaardFigur@lemmy.world 4 points 2 years ago

Fuck yeah. I already use gsudo on my private Windows installation, but I didn't install it on my work PC for obvious reason. Now I get to use it there as well. Fantastic

[-] Curdie@lemmy.world 2 points 2 years ago

This will be a nice improvement for me.

load more comments
view more: next ›
this post was submitted on 08 Feb 2024
241 points (100.0% liked)

Technology

73939 readers
3300 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS