• @w2tpmf
    link
    271 year ago

    We already had this function, they just made sudo into an alias of:

    runas /user:Administrator
    
    • @[email protected]
      link
      fedilink
      211 year ago

      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.

      • @[email protected]
        link
        fedilink
        English
        101 year ago

        runas will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account

      • @SuspiciousPumpkin421
        link
        91 year ago

        I think they meant you could use any account that is an admin with runas to elevate.

      • voxel
        link
        fedilink
        2
        edit-2
        1 year ago

        then, use gsudo. it uses uac and even has convinience features from linux sudo like maintaing an open session for passwordless elevation for a couple of minutes after the password is entered.