starman to linuxmemes@lemmy.worldEnglish · 11 months agoSudo is coming to windowsimagemessage-square137fedilinkarrow-up11.12Karrow-down117file-textcross-posted to: linux_memes
arrow-up11.1Karrow-down1imageSudo is coming to windowsstarman to linuxmemes@lemmy.worldEnglish · 11 months agomessage-square137fedilinkfile-textcross-posted to: linux_memes
Source: https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/
minus-squaremacniel@feddit.delinkfedilinkarrow-up15·11 months agoBut it needs to be a verb like get set do
minus-squareSaik0@lemmy.saik0.comlinkfedilinkEnglisharrow-up19·11 months agoDo-As “NT Authority/System” Have to quote it in too… since there’s a space.
minus-squarelaurelraven@lemmy.blahaj.zonelinkfedilinkarrow-up15·11 months agoProbably something more like “Invoke-Command -AsAdmin” Which would be aliased to sudo
minus-squaregroet@feddit.delinkfedilinkarrow-up2·11 months agoThat’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-squarelaurelraven@lemmy.blahaj.zonelinkfedilinkarrow-up1·11 months agoI 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
minus-squareRicky Rigatoni@lemm.eelinkfedilinkarrow-up9arrow-down1·11 months agojustfuckingdoitbeforeireplaceyouwithtinycore
But it needs to be a verb like
get
set
do
Do-As “NT Authority/System”
Have to quote it in too… since there’s a space.
Probably something more like “Invoke-Command -AsAdmin”
Which would be aliased to sudo
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
justfuckingdoitbeforeireplaceyouwithtinycore