How does this differ from the runas command? #66
|
As the title says, I am curious about how windows |
Replies: 2 comments
|
From my understanding, Here's documentation for And for |
|
Ahh, ok. So I think understand it now. Thanks @AvogatoWizardWhisker |
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…