Article Details
Scrape Timestamp (UTC): 2024-02-12 05:48:36.886
Source: https://thehackernews.com/2024/02/microsoft-introduces-linux-like-sudo.html
Original Article Text
Click to Toggle View
Microsoft Introduces Linux-Like 'sudo' Command to Windows 11. Microsoft said it's introducing Sudo for Windows 11 as part of an early preview version to help users execute commands with administrator privileges. "Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session," Microsoft Product Manager Jordi Adoumie said. "It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console." Sudo, short for superuser do, is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, usually a user with elevated permissions (e.g., administrator). The feature is available for Windows 11 builds 26045 and later. It can be enabled by heading to Settings > For Developers, and setting "Enable sudo" to On. Sudo for Windows comes with three options: run applications in a new elevated console window, run the elevated process in the current window but with the input stream (stdin) closed, and in inline mode. "The inline configuration option runs the elevated process in the current window and the process is able to receive input from the current console session," Redmond warns in its documentation. "An unelevated process can send input to the elevated process within the same console windows or get information from the output in the current windows in this configuration." Microsoft said it's also in the process of open-sourcing the project on GitHub, urging other users to contribute to the initiative as well as report issues and file feature requests. ⚡ Free Risk Assessment from Vanta Generate a gap assessment of your security and compliance posture, discover shadow IT, and more.
Daily Brief Summary
Microsoft has rolled out a Sudo feature for Windows 11 preview builds, aiding users to execute commands with administrative privileges.
Similar to Unix/Linux systems, "Sudo for Windows" enables users to run elevated commands from an unelevated console.
The feature enhances convenience by eliminating the need to open a new elevated console to execute a higher-privilege command.
Available in Windows 11 builds starting from 26045, it can be enabled in the "For Developers" section in Settings.
Sudo for Windows offers three options, including running applications in a new elevated window and running processes with or without input stream in the current window.
Microsoft is also taking steps to open-source the Sudo for Windows project, encouraging community contributions and feedback on GitHub.