Linux-Like Sudo Command is Here with Windows 11 Insider Build 26052

If you’ve heard about Linux, you may know about Sudo. It’s a command used to run commands or applications with elevated permissions on Linux. As for what you can do with it, it’s mostly used by developers and power users who want to run scripts or tools that need administrator access to do what they’re made to do.

If you’re a seasoned Windows user, you may know that if a program needs superuser privileges to run, the only way to run it is by opening the Terminal onWindows as the Administrator. However, that’s changing with Windows 11 Canary build 26045 as Microsoft is adding native support for the Sudo command. Once Sudo arrives on Windows 11, you won’t exclusively need to open a Terminal window as an administrator but can use Sudo in the command line to execute things.Image Courtesy: Microsoft Blog

And no, Microsoft Sudo on Windows 11 is completely different from Sudo on Linux. Although Microsoft has embraced Linux viaWindows Subsystem for Linuxfor a long time now, Microsoft Sudo is not a port of Linux Sudo and is an entirely different application.

Microsoft Sudo will bemade open-source soonand the work for the same is in progress in theofficial GitHub repository. It’s available to use onWindows 11Insiders build 26045 and above and can be found in the Windows Settings app on the Developer Features page.

How Does Sudo Work on Windows 11

How Does Sudo Work on Windows 11

Thedocumentationfor Microsoft Sudo is now live. You can use it by adding the word “sudo” before the start of a command. For example:

Users can configure Sudo in three ways: in anew Window, With input Disabled, and Inline. Choosing the first option will open a new Terminal window to run the command. The second option closes the user input, hence, if a command requires further input when running, you can’t input anything.Image Courtesy: Microsoft Blog

The third option is what most people will end up using, i.e., the Inline option, which allows you to use Sudo in the same line, much like Linux.

What are your thoughts about Sudo on Windows 11? What other features should Microsoft reinvent from Linux and bring to Windows 11? Let us know in the comments section below.

Abubakar Mohammed

Abubakar covers Tech on Beebom. Hailing from a Computer Science background, the start of his love for Tech dates back to 2011, when he was gifted a Dell Inspiron 5100. When he’s not covering Tech, you’ll find him binge-watching anime and Tech content on YouTube, hunting heads in competitive FPS games, or exploring Teyvat in Genshin Impact. He has previously worked for leading publications such as Fossbytes, How-To Geek, and Android Police.

Add new comment

Name

Email ID

Δ