Microsoft Introduces Linux-Like ‘sudo’ Command to Windows 11

-

Sudo for Windows 11

Microsoft mentioned it is introducing Sudo for Home windows 11 as a part of an early preview model to assist customers execute instructions with administrator privileges.

“Sudo for Home windows is a brand new manner for customers to run elevated instructions immediately from an unelevated console session,” Microsoft Product Supervisor Jordi Adoumie mentioned.

“It’s an ergonomic and acquainted resolution for customers who wish to elevate a command with out having to first open a brand new elevated console.”

Sudo, quick for superuser do, is a program for Unix-like pc working techniques that permits customers to run applications with the safety privileges of one other consumer, normally a consumer with elevated permissions (e.g., administrator).

The function is offered for Home windows 11 builds 26045 and later. It may be enabled by heading to Settings > System > For Builders, and setting “Allow sudo” to On.

Sudo for Home windows comes with three choices: run purposes in a brand new elevated console window, run the elevated course of within the present window however with the enter stream (stdin) closed, and in inline mode.

Sudo for Windows 11

“The inline configuration possibility runs the elevated course of within the present window and the method is ready to obtain enter from the present console session,” Redmond warns in its documentation.

“An unelevated course of can ship enter to the elevated course of throughout the identical console home windows or get data from the output within the present home windows on this configuration.”

Microsoft mentioned it is also within the technique of open-sourcing the mission on GitHub, urging different customers to contribute to the initiative in addition to report points and file function requests.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

ULTIMI POST

Most popular