sudo icon indicating copy to clipboard operation
sudo copied to clipboard

megathread: support for Windows Server

Open zadjii-msft opened this issue 1 year ago • 5 comments

This has been requested in a pile of places. Lemme try and gather up the links quick:

  • https://www.reddit.com/r/programming/comments/1am2bkn/introducing_sudo_for_windows/kpjmwch/
  • https://www.reddit.com/r/programming/comments/1am2bkn/introducing_sudo_for_windows/kpjjt6v/
  • https://www.reddit.com/r/Windows11/comments/1am2ovw/introducing_sudo_for_windows/kpjlorx/
  • surely somewhere in the HN thread
  • https://github.com/microsoft/terminal/issues/146#issuecomment-1935150292

Getting sudo into client editions of Windows was our top priority. We'll restart conversations with the relevant teams to see if there's interest in getting sudo on server somehow

zadjii-msft avatar Feb 12 '24 12:02 zadjii-msft

This would be great as an add-on; not enabled by default.

luke-beep avatar Feb 12 '24 12:02 luke-beep

can't you just throw in the Microsoft-Windows-Sudo + Microsoft-Windows-Sudo-ADM SxS components into Microsoft-Windows-Server-Features-Package and call it a day? Microsoft-Windows-Client-Features-Package already has sudo baked into it, so this addition might as well be trivial by modifying the associated CBS update packages for server editions and throwing in that component.

pivotman319-owo avatar Feb 12 '24 21:02 pivotman319-owo

Don't you already run commands as elevated on Windows Server? If so, I'm not sure if sudo would be necessary for Windows Server.

AvogatoWizardWhisker avatar Mar 02 '24 09:03 AvogatoWizardWhisker

@AvogatoWizardWhisker No, UAC also exists on servers.

agowa avatar Mar 03 '24 04:03 agowa

It will be nice to have for Windows Server and Windows 10 too.

Neustradamus avatar Jul 27 '24 19:07 Neustradamus