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,
runasin Windows allows the execution of commands or programs as any user, including administrators, whereassudopermits the execution of elevated commands from a non-elevated console session.runasrequires the password of the target user, offering the flexibility to operate as any user. In contrast,sudoonly prompts for User Account Control (UAC) and simplifies the process by not requiring a separate password. Regarding permissions,runasgrants broader permissions for the entire process, whilesudodoes not currently support running commands as other users, although this feature may be under consideration for future updates. In terms of security,runasnecessit…