Microsoft has released the source code of the Sudo program for Windows as an alternative option. Windows has had the runas command for running commands with elevated privileges for a long time. However, the limitation is that runas always opens a new window, unlike sudo in Linux, which can run scripts consecutively with other commands that do not require elevated privileges. The Sudo command in Windows has 3 working options: always work on a new window like runas, close input immediately to reduce risks, and receive input from the console in the same way as in Linux. Even though it supports similar functions to Linux, the project recommends using the “open new window” mode similar to runas.
Source: GitHub: microsoft/sudo
TLDR: Microsoft releases the Sudo program source code for Windows, providing alternatives to the runas command with enhanced features and reduced risks.
Leave a Comment