How does this differ from the runas command? #66
-
As the title says, I am curious about how windows |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
From my understanding, Here's documentation for And for |
Beta Was this translation helpful? Give feedback.
-
Ahh, ok. So I think understand it now. Thanks @AvogatoWizardWhisker |
Beta Was this translation helpful? Give feedback.
From my understanding,
runas
in Windows allows the execution of commands or programs as any user, including administrators, whereassudo
permits the execution of elevated commands from a non-elevated console session.runas
requires the password of the target user, offering the flexibility to operate as any user. In contrast,sudo
only prompts for User Account Control (UAC) and simplifies the process by not requiring a separate password. Regarding permissions,runas
grants broader permissions for the entire process, whilesudo
does not currently support running commands as other users, although this feature may be under consideration for future updates. In terms of security,runas
necessit…