starman@programming.dev to linuxmemes@lemmy.worldEnglish · 2 years agoSudo is coming to windowsprogramming.devimagemessage-square105linkfedilinkarrow-up1925arrow-down115file-text
arrow-up1910arrow-down1imageSudo is coming to windowsprogramming.devstarman@programming.dev to linuxmemes@lemmy.worldEnglish · 2 years agomessage-square105linkfedilinkfile-text
Source: https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/
minus-squarew2tpmf@lemmy.worldlinkfedilinkarrow-up23arrow-down1·2 years agoWe already had this function, they just made sudo into an alias of: runas /user:Administrator
minus-squarer4indeer@discuss.tchncs.delinkfedilinkarrow-up22arrow-down4·2 years agoNo, that required the local admin account to have a password, which is usually unset (and the account is also locked). This uses the UAC system instead.
minus-squareTrainguyrom@reddthat.comlinkfedilinkEnglisharrow-up10·2 years agorunas will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account
minus-squareSuspiciousPumpkin421@lemmy.worldlinkfedilinkarrow-up8·2 years agoI think they meant you could use any account that is an admin with runas to elevate.
We already had this function, they just made sudo into an alias of:
No, that required the local admin account to have a password, which is usually unset (and the account is also locked). This uses the UAC system instead.
runaswill run as whatever account you specify, so you can absolutely use it to run something as a domain admin accountI think they meant you could use any account that is an admin with runas to elevate.