A terminal window displays a git command in the title bar: "push in source." Tabs at the top indicate a basketball game between LAC and LAL on January 23, 2024, at 10:00 PM ET. The window also shows tabs labeled "Jadou," "source," and a timer displaying "2ns." Additionally, CMMC compliance is highlighted for enhanced cybersecurity.

Linux is introduced by Microsoft with the following commands: sudo &#039, Windows 11

12 February 2024 Newsroom Operating System/Technology

To assist users in carrying out commands with administrator privileges, Microsoft announced the introduction of Sudo for Windows 11 in an early preview version.

According to Microsoft Product Manager Jordi Adoumie,” Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session.”

For users who do n’t need to open a brand-new elevated console first, it is an easy-to-use and well-known solution.

A program for Unix-like computer operating systems called Sudo, which stands for superuser do, enables users to run programs with another user’s security privileges, typically an administrator.

Cybersecurity

Windows 11 builds 26045 and later can use the feature. By selecting” Enable sudo” to On, you can enable it by going to Settings andgt, System andgg, For Developers.

Run applications in a brand-new elevated console window, run the elevated process while keeping the input stream ( stdin ) closed, and enter inline mode in Sudo for Windows.

Sudo for Windows 11

Redmond issues a warning in its documentation,” The inline configuration option runs the elevated process in the current window and the process is able to receive input from current console session.”

” In this configuration, an unelevated process can receive data from the output of the current windows or send input to the elevated process within the same console windows.”

Microsoft urged other users to participate in the initiative as well as report problems and file feature requests, saying it is also open-sourcing the project on Git Hub.

This article piqued your interest? To read more of the exclusive content we post, follow us on LinkedIn and Twitter.
Skip to content