Microsoft announced the addition of the Unix sudo command to
Software

Microsoft announced the addition of the Unix sudo command to Windows 11

Microsoft will introduce the sudo command into Windows 11, which is familiar to users of Unix-like OSes. Sudo—short for “superuser do”—is widely used on Unix-based OSes such as Linux and macOS to run programs with elevated security privileges and perform system administration tasks. This innovation not only symbolizes the deepening integration of Windows with Linux, but also opens up new opportunities for developers.

  Image source: 3dnews.ru

Image source: 3dnews.ru

The key to understanding this innovative step lies in the implementation of the sudo command within Windows. The project, which is under active development and testing in the latest Canary builds of Windows 11, provides three modes for launching commands: in a new window, with input disabled, and built-in mode. It is the built-in mode that most closely replicates the functionality of the traditional sudo command, allowing you to execute commands with elevated privileges without the need to launch a separate session.

Jordi Adoumie, product manager at Microsoft, said the introduction of the sudo command is in response to requests from developers seeking a smoother and more efficient experience with development tools. In the coming months, the company plans to not only expand documentation on using sudo on Windows, but also provide additional information about the safety of using this command in various configurations.

  Sudo will be controlled in Developer Options in a future version of Windows 11 (Image source: Microsoft)

Sudo will be controlled in Developer Options in a future version of Windows 11 (Image source: Microsoft)

The appearance of the sudo project code on GitHub is another step by Microsoft towards supporting open source and working closely with developers. This reflects the company’s commitment to transparency and community involvement in improving the tools that shape the future of software development.

The addition of the sudo command to Windows 11 is the latest initiative from Microsoft to integrate its OS with Linux, from including a full Linux kernel in Windows 10, Bash shell integration, built-in OpenSSH, to offering Linux distributions Ubuntu, SUSE and Fedora on Windows.

These steps not only blur the boundaries between different operating systems, but also open up endless possibilities for developers to create, test and deploy their applications in a universal and flexible environment. Overall, the integration of the Unix sudo command in Windows 11 shows Microsoft’s commitment to integrating best practices and tools that have proven themselves in the Linux and Unix worlds.

About the author

Robbie Elmers

Robbie Elmers is a staff writer for Tech News Space, covering software, applications and services.

Add Comment

Click here to post a comment