3 ms·
Windows has an analogy to sudo, called runas UAC is designed to solve a different problem, users on Windows historically ran as administrator, and much legacy
by Aloha 12y ago
Windows has an analogy to sudo, called runas
UAC is designed to solve a different problem, users on Windows historically ran as administrator, and much legacy software requires it, UAC is designed to provide an apparent administrator environment to the software but catch what the software is using, and give the user a chance to approve privilege escalation.
- antod 12y agorunas is more of a su analogy than a sudo one.
- Aloha 12y agoI disagree, the -u option for sudo gives you nearly identical functionality.
- antod 12y agoThe reason su is a better runas analogy than sudo is that it has a similar scope and similar purpose. While it does overlap su/runas functionality, sudo has a much larger superset of features and policy configuration that su and runas simply don't have.