Windows 11 will soon have a built-in sudo command for developers. Sudo, short for “superuser do”, is widely used in Unix-based operating systems such as Linux and macOS to run programs with higher security privileges or on behalf of another user. This is useful, for example, for developers who want to test scripts.
Microsoft uses sudo on Windows to allow developers to run elevated tools directly from a non-elevated console session.
“It’s an ergonomic and familiar solution for users who want to level up their team without having to open a new console with elevated rights first,” explains Jordi Adumi, Microsoft product manager.
Microsoft has already begun testing the sudo command in the new Canary build of Windows 11. This innovation should appear in the consumer version of the OS by the end of this year. Microsoft will allow configuring the sudo command in three modes: new window, with input disabled, and built-in. The mode most similar to Linux’s sudo is built-in, while other modes block more actions.
“In the coming months, we’ll be working on expanding the sudo documentation for Windows and sharing more detailed information about the security implications of running sudo in a ‘built-in’ configuration,” says Adumi.
Microsoft is also making the source code of this sudo project open source on GitHub.
Source: The Verge