Microsoft introduced 'Sudo for Windows' today, a new Windows 11 feature allowing users to execute commands with elevated privileges from unelevated terminals.
The company is also working on open-sourcing the new tool and recommends Gerardo Grignoli's gsudo as an alternative with more configuration options and a more extensive feature set.
The new Sudo tool is rolling out to Windows Insiders in the Canary and Dev Channels running Windows 11 Insider Preview Build 26052.
Since Linux sudo and Sudo for Windows are different beasts, scripts written for Linux sudo may not work with Sudo for Windows without some modification.
It can be configured to run applications in a new elevated console window, in the same window but with input disabled, or inline.
After elevating a new process using sudo, a UAC dialog will appear to ask the user for confirmation and escalate privileges once confirmed, using the configuration option the user selected.
Microsoft says the setting for enabling sudo may incorrectly show up on Windows Server Insider Preview builds.
Sudo will not be available on Windows Server, and this setting will be disabled in a future Server Insider Preview build.
Sudo for Windows was accidentally revealed by Microsoft two weeks ago, together with some other in-development features, and was first spotted by Albacore while looking into changes added to updated language packs included with a leaked Windows Server 2025 Insider preview build.
Microsoft is bringing the Linux sudo command to Windows Server.
New Windows Event Log zero-day flaw gets unofficial patches.
Windows 11 KB5034204 update fixes Bluetooth audio issues, 24 bugs.
Microsoft tests instant access to Android photos in Windows 11.
This Cyber News was published on www.bleepingcomputer.com. Publication date: Thu, 08 Feb 2024 18:55:05 +0000