• r4indeer@discuss.tchncs.de
    link
    fedilink
    arrow-up
    19
    arrow-down
    3
    ·
    9 months 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.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 months ago

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

    • voxel@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      9 months 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.