Microsoft is taking steps to not only make Windows Server 2025 more secure but also easier to administer. To do this, it is adding sudo into the mix.
You can already test the Windows Server 2025 build, via the Insider Preview Build that allows you to enable sudo via an on/off switch in the Settings app.
There is no indication if Windows will allow admins to configure sudo similarly to how it can be done on Linux, but hopefully they'll see to it to make that a part of the system.
In fact, according to Windows Latest, it looks like the feature will be coming to Windows 11. In addition, it does look like there will be some configuration options available for how commands run using sudo. You'll be able to choose from In a New Window, With Input Disabled, and Inline. At the moment, it's not 100% clear how those options will function.
What is sudo?
Anyone who's used Linux knows sudo. For those who haven't, it stands for superuser do and allows standard users to execute commands that would otherwise require the use of administrator privileges. Prior to sudo, to run commands or applications that require admin privileges, users would have to either log in as the root user or su to the root user account.
Sudo adds a layer of security to Linux that has gone unmatched by Windows for a long time. It allows admins to define what users can access admin privileges and even control what applications those privileges apply to.
This is a great step for Microsoft to allow easier administration of its operating system. Hopefully, it'll make it possible for Windows admins to get as granular with sudo as Linux admins.