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
54 points

This incident will be reported.

permalink
report
reply
35 points

To our advertisers

permalink
report
parent
reply
3 points

“Would you like to buy some sudocrem?”

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
12 points

remove for real, for real

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
42 points

sudo stop redirect capturing my back button

permalink
report
reply
26 points

I fucking LOATHE their same page redirect every time I mistakenly click on a MS answers page

permalink
report
parent
reply
21 points

It’s even worse because if you’ve found your way to MS answers you’re clearly desperate because nothing came up on a real site. So you’re already in a bad mood and then - BLAM - redirect!

permalink
report
parent
reply
4 points

And then the answer is posted twice in a row from the the same expert and reads: “thank you for contacting Microsoft Answers. We are closing this thread as it’s reached the maximum age of -21479632”.

permalink
report
parent
reply
5 points

Thankfully you can right click the “back” button and it’ll give you a list of couple of last sites and you can just so it from there. It is still annoying though.

permalink
report
parent
reply
2 points

I’ve added ms answers to my ublock filter. The site is worthless.

permalink
report
parent
reply
26 points

Sudo already exists, is it okay to just name a different program by the same name?

Guess which one Bing search will try harder to return.

permalink
report
reply
6 points

I hate searching for sway config stuff using DDG (which returns Bing results).

Chances are never zero that that there is an outdated MS product with the same name of what you’re searching.

permalink
report
parent
reply
4 points

I feel this, I type swaywm instead now

permalink
report
parent
reply
2 points

Hold up. DDG returns Bing results? TIL. Is that true? How do we know? Do they state this, themselves?

permalink
report
parent
reply
8 points

https://duckduckgo.com/duckduckgo-help-pages/results/sources/

Most of our search result pages feature one or more Instant Answers. To deliver Instant Answers on specific topics, DuckDuckGo leverages many sources, including specialized sources like Sportradar and crowd-sourced sites like Wikipedia. We also maintain our own crawler (DuckDuckBot) and many indexes to support our results. Of course, we have more traditional links and images in our search results too, which we largely source from Bing. Our focus is synthesizing all these sources to create a superior search experience.

permalink
report
parent
reply
5 points

They are already doing it for other commands. Eg curl.

permalink
report
parent
reply
24 points

Welcome to 1980, Microsoft (or 1993 if you’re feeling really generous).

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