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 can be controlled in developer settings in a future version of Windows 11.
Image: 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.

Read the full article Here

Leave a Reply

Your email address will not be published. Required fields are marked *

DON’T MISS OUT!
Subscribe To Newsletter
Be the first to get latest updates and exclusive content straight to your email inbox.
Stay Updated
Give it a try, you can unsubscribe anytime.
close-link