Monday, February 12, 2024

SUDO Command for Windows 11

Windows is getting its own Sudo command, just like Linux - here's how you can use it:
https://www.itpro.com/software/windows/windows-is-getting-its-own-sudo-command-just-like-linux-heres-what-you-need-to-know-and-how-you-can-use-it
"The Sudo for Windows command feature might make life a little easier for administrators - so long as they are aware of the potential security risks."

Microsoft confirms sudo is not coming to Windows Server:
"... this feature will only be available on consumer versions of Windows 11."

Introducing Sudo for Windows:
"In a New Window - In this configuration, sudo.exe will launch a new elevated console window and run the command in that window. 
The new window will be launched with the same working directory as the current window. 
The new window will also be launched with the same environment variables as the current window."

Sudo for Windows - documentation:
"The sudo command offers a way to quickly elevate a command as administrator from your current unelevated command line context ..."


No comments: