Microsoft is bringing Linux’s sudo command to Windows 11
Windows 11 will soon have a built-in sudo command designed for developers. Sudo, short for “superuser do,” is widely used on Unix-based operating systems like Linux and macOS to run programs with higher security privileges or as another user. It’s useful for developers wanting to test scripts, for example.
Microsoft is using sudo inside Windows to let developers run elevated tools directly from an unelevated console session. “It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console,” explains Jordi Adoumie, a product manager at Microsoft.
Sudo is being tested as part of the latest Canary build of Windows 11 today, so it won’t be available to regular versions of Windows 11 until later this year. Microsoft will allow the sudo command to be configured in three modes: a new window, with input disabled, and inline. The most similar mode to Linux’s sudo is inline, whereas the other modes lock down things more.
“Over the coming months we will be working on expanding documentation for Sudo for Windows and will be sharing more details about the security implications of running sudo in the ‘Inline’ configuration,” says Adoumie.
Microsoft is also open-sourcing this sudo project on GitHub, and plans to share more about the plans for sudo in the coming months.
Windows 11 will soon have a built-in sudo command designed for developers. Sudo, short for “superuser do,” is widely used on Unix-based operating systems like Linux and macOS to run programs with higher security privileges or as another user. It’s useful for developers wanting to test scripts, for example. Microsoft…
Recent Posts
- How much data does your favorite messaging app collect? New study shows 90% of messaging apps now include AI that puts privacy at risk
- More than a decade later, the team behind N++ is back with a multiplayer sequel
- If Vampire Survivors and Spelunky had a baby, it’d be Messhof’s Blood Dungeon
- Grand Theft Auto VI is warping the video game release calendar
- 9 dog-care gadgets that are so clever they deserve a treat — including an ingenious on-the-go water solution and a ‘canine FitBit’
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023