starman@programming.dev to linuxmemes@lemmy.worldEnglish · 1 年前Sudo is coming to windowsprogramming.devimagemessage-square119fedilinkarrow-up11.1Kfile-textcross-posted to: linux_memes@programming.dev
arrow-up11.1KimageSudo is coming to windowsprogramming.devstarman@programming.dev to linuxmemes@lemmy.worldEnglish · 1 年前message-square119fedilinkfile-textcross-posted to: linux_memes@programming.dev
Source: https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/
minus-squaregroet@feddit.delinkfedilinkarrow-up2·1 年前That’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo. It’s supposed to be available in cmd and batch so it must be callable directly
minus-squarelaurelravenlinkfedilinkarrow-up1·1 年前I was more postulating what they probably would do if it were implemented directly in PowerShell But, as it turns out, it’s just sudo.exe in the command path
That’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo.
It’s supposed to be available in cmd and batch so it must be callable directly
I was more postulating what they probably would do if it were implemented directly in PowerShell
But, as it turns out, it’s just sudo.exe in the command path