Shipped in Windows 11 Insider Preview Build 26052. https://www.tiraniddo.dev/2024/02/sudo-on-windows-quick-rundown.html claims it has a big security problem that makes the program accept calls to elevate from anywhere once first run

Edit:

  1. The security problem has been internally fixed and will be available in the next release
  2. It’s not just an alias for ‘runas’. It seems to be able to configurably block user input for sudo’d commands, retain the existing environment, ditch it and open a new window, and remember that you’ve sudo’d in the last minute or so.
  3. It brings up UAC instead of having you input the password
16 points

Install Linux already, get it over with. Windows has been and still is a sad joke, why pay for that crap?

permalink
report
reply
5 points

People pay for windows?

permalink
report
parent
reply
3 points

You can get a legit Windows 11 key for like 5 bucks, no reason not to install it honestly. Even if only for dual booting, it can save you a lot of headaches.

permalink
report
parent
reply
12 points

Psst… massgrave.dev

permalink
report
parent
reply
-7 points

A product key, which allows you to use Windows to its fullest, costs money to Microsoft.

permalink
report
parent
reply
3 points
*

Most people here pirate it or get the price bundled with their manufacturer. It’s surprisingly easy

permalink
report
parent
reply
6 points

That’s a myth that people need to stop spreading.

Microsoft is a business. Microsoft is also not stupid. If it cost them more to provide a product than it makes them, they wouldn’t provide it. They’re is a huge amount of examples of them doing this. They don’t provide it because they’re nicer guys.

Microsoft uses Windows, and all of it’s products, as a vehicle for Azure and advertisers. Everything they do feeds into that one way or another.

Microsoft stopped being a software company some time ago.

permalink
report
parent
reply
9 points

Because business uses Windows services, which are, by far, the most common. And when collaborating and sharing files is essential this is a major deal breaker. I love *nix but it just wouldn’t work as well in the business world until there are wide spread services that replicate or do better than what Microsoft does with enterprise support and pricing in mind.

permalink
report
parent
reply
12 points

Sure, tell my corporate overlords to do that, on thousands of computers across the globe.

At home i can do what I want, at work I have to bow down.

permalink
report
parent
reply
45 points

sudo rm -r -f windows

permalink
report
reply
17 points

sudo rm -fr -fr windows

permalink
report
parent
reply
2 points

Wouldn’t work on powershell in which the options parser works very differently

permalink
report
parent
reply
12 points

remove for real, for real

permalink
report
parent
reply
2 points

In powershell you’d have to do -fo because there’s —filter

permalink
report
parent
reply
17 points

Finally! The day I’ve been waiting for so long. Goodbye Linux, hello Windows!

- nobody ever

permalink
report
reply
9 points

In your mind, do you really think that is the intention here? Seems more like a convenience for people who use both Linux and Windows.

I have to use both so I welcome it.

permalink
report
parent
reply
4 points

Seriously. My home PC runs Linux primarily, but I sysadmin both Windows and Linux at work and this will be very convenient. Forgetting to run PowerShell as admin is always frustrating, especially when I have the commands and variables already established.

permalink
report
parent
reply
2 points

Did they ask for permission first? :p

permalink
report
reply
1 point

sudo winget install sudo

permalink
report
parent
reply
2 points

Soooo revolutionary and unique like Phone Link

permalink
report
reply

Technology

!technology@lemmy.world

Create post

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


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 18K

    Monthly active users

  • 12K

    Posts

  • 553K

    Comments