Microsoft stated 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 means for customers to run elevated instructions immediately from an unelevated console session,” Microsoft Product Supervisor Jordi Adoumie stated.
“It’s an ergonomic and acquainted answer 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 laptop working methods that enables customers to run applications with the safety privileges of one other person, normally a person with elevated permissions (e.g., administrator).
The function is out there 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 functions 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.
“The inline configuration choice 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 stated it is also within the strategy of open-sourcing the mission on GitHub, urging different customers to contribute to the initiative in addition to report points and file function requests.