Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Share Post: Reddit Facebook
Update Microsoft is bringing Linux’s sudo command to Windows 11
Microsoft continues to embrace Linux and make Windows a home for developers

Quote: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.

The addition of sudo comes years after Microsoft fully embraced Linux by shipping a full Linux kernel in Windows 10. The software maker has also added the Bash shell to Windows, native OpenSSH in Windows 10, and even brought Ubuntu, SUSE Linux, and Fedora to the Windows Store.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Microsoft PowerToys: Free extensions for Windows tarekma7 0 1,118 03-13-2023 , 11:11 AM
Last Post: tarekma7
  Windows 12 could be Microsoft’s big AI update as the company bets big on ChatGPT Imran 0 1,380 01-31-2023 , 02:10 PM
Last Post: Imran
  Better than the Microsoft Store: Ingenious software hub for Windows tarekma7 0 1,317 01-26-2023 , 07:20 PM
Last Post: tarekma7
  Microsoft stops selling Windows 10: You can still get it here tarekma7 1 1,337 01-20-2023 , 08:35 AM
Last Post: Imran
  Giveaway Microsoft Power Automate Desktop for Windows 11 and Windows 10 - Free License tarekma7 0 1,714 08-28-2022 , 10:05 AM
Last Post: tarekma7

Forum Jump:

Users browsing this thread: 2 Guest(s)