starman@programming.dev to linuxmemes@lemmy.worldEnglish · 8 months agoSudo is coming to windowsprogramming.devimagemessage-square12fedilinkarrow-up11arrow-down10file-textcross-posted to: linux_memes@programming.dev
arrow-up11arrow-down1imageSudo is coming to windowsprogramming.devstarman@programming.dev to linuxmemes@lemmy.worldEnglish · 8 months agomessage-square12fedilinkfile-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-squaremlg@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-28 months agoDoesn’t really make sense in the context of windows tbh sudo = “superuser do” They should have made it NT-ASdo for “NT AUTHORITY\SYSTEM do” Except it should actually be a powershell module so you have to type out the whole thing as NT-AuthoritySystem-Do /s
minus-squaremacniel@feddit.delinkfedilinkarrow-up0·8 months agoBut it needs to be a verb like get set do
minus-squareSaik0@lemmy.saik0.comlinkfedilinkEnglisharrow-up0·8 months agoDo-As “NT Authority/System” Have to quote it in too… since there’s a space.
minus-squarelaurelraven@lemmy.blahaj.zonelinkfedilinkarrow-up0·8 months agoProbably something more like “Invoke-Command -AsAdmin” Which would be aliased to sudo
minus-squaregroet@feddit.delinkfedilinkarrow-up0·8 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
Doesn’t really make sense in the context of windows tbh
sudo = “superuser do”
They should have made it NT-ASdo for “NT AUTHORITY\SYSTEM do”
Except it should actually be a powershell module so you have to type out the whole thing as NT-AuthoritySystem-Do
/s
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