Skip to content

How does this differ from the runas command? #66

Closed Answered by AvogatoWizardWhisker
jarrodCoombes asked this question in Q&A
Discussion options

You must be logged in to vote

From my understanding, runas in Windows allows the execution of commands or programs as any user, including administrators, whereas sudo 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, while sudo 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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zadjii-msft
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants