@[email protected] to [email protected]English • 1 year agoSudo is coming to windowsprogramming.devimagemessage-square135fedilinkarrow-up11.01Kcross-posted to: [email protected]
arrow-up11.01KimageSudo is coming to windowsprogramming.dev@[email protected] to [email protected]English • 1 year agomessage-square135fedilinkcross-posted to: [email protected]
Source: https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/
minus-square@[email protected]linkfedilink23•1 year agoWe already had this function, they just made sudo into an alias of: runas /user:Administrator
minus-square@[email protected]linkfedilink20•1 year 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-square@[email protected]linkfedilink9•1 year agoI think they meant you could use any account that is an admin with runas to elevate.
minus-square@[email protected]linkfedilinkEnglish8•1 year agorunas will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account
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.
I think they meant you could use any account that is an admin with runas to elevate.
runas
will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account