2024-02-09
263
1 minutes.


Windows 11: New sudo command added from Linux

Windows 11 will soon have a built-in sudo command for developers.

Windows 11: new - sudo command

What is the sudo command and what is it for?

The sudo command, short for "superuser do", is widely used on Unix-based operating systems such as Linux and macOS to run programs with elevated security privileges or as another user.

Microsoft has decided to implement the sudo command in Windows 11 to allow developers to run elevated tools directly from a console session, without having to open a new elevated window. This solution will be convenient and familiar to users.

"This is an ergonomic and familiar solution for users who want to level up a command without having to first open a new elevated console," explains Jordi Adumi, product manager at Microsoft.

Windows 11 New sudo command added from Linux

How will the sudo command work in Windows 11?

Microsoft has already begun testing the sudo command in the new Canary build of Windows 11. In the final version, users will be able to configure the sudo command in one of three modes: new window, mode with disabled input, and built-in. The mode most similar to sudo on Linux will have similar capabilities to this command, while other modes will have limited functionality.

"In the coming months, we will be working to expand the Sudo documentation for Windows and share more details about the security implications of running sudo in a 'native' configuration," reports Jordi Adumi .

Microsoft also publishes the source code for the sudo project on GitHub, allowing developers to explore and use it.

Glossary

  • Windows 11 is an operating system developed by Microsoft;
  • sudo is a command used on Unix-based operating systems to run programs with elevated security privileges or as another user;
  • Unix is a family of operating systems based on the principles of Unix ideas;
  • Linux is an operating system based on the Linux kernel, the property of the open source community;
  • macOS is an operating system for computers and servers developed by Apple Inc.;
  • GitHub - a web service for hosting IT projects with version control;

Links

Answers to questions

What is the sudo command and what is it used for?

The sudo command is short for 'superuser do' and is used to run programs with elevated security privileges or as another user. On Unix-based operating systems such as Linux and macOS, this command is widely used.

Why did Microsoft decide to implement the sudo command in Windows 11?

Microsoft has decided to implement the sudo command in Windows 11 to allow developers to run elevated tools directly from a console session, without having to open a new elevated window. This is a more convenient and familiar solution for users.

How will the sudo command work in Windows 11?

In Windows 11, users will be able to configure the sudo command in one of three modes: new window, typing disabled, and inline. The mode most similar to sudo on Linux will have similar capabilities to this command, while other modes will have limited functionality.

What are the security implications of running sudo in a built-in configuration?

Microsoft will be working to expand the Sudo for Windows documentation to share more information about the security implications of running sudo in a native configuration.

What other links can you find on this topic?

You can find more information on this topic on The Verge website: [link](https://www.theverge.com/2024/2/8/ 24066264/mirosoft-sudo-command-windows-11-feature)


Save a link to this article

Discussion of the topic – Windows 11: New sudo command added from Linux


The new Windows 11 operating system will feature a sudo command specifically designed for developers.


There are no reviews for this product.


Captcha


Next