# microsoft/sudo

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/microsoft-sudo).**

5,842 stars · 176 forks · Rust · MIT

## Links

- GitHub: https://github.com/microsoft/sudo
- awesome-repositories: https://awesome-repositories.com/repository/microsoft-sudo.md

## Topics

`sudo` `windows` `windows-11`

## Description

Sudo is a Windows command line utility and privilege escalation tool designed to execute individual commands with administrative privileges from an existing terminal session. It acts as an administrative access wrapper that allows specific processes to run as an administrator without requiring the user to manually open a new administrative window.

The tool integrates administrative tasks directly into the Windows command line workflow, enabling the management of system configurations and protected files while maintaining the current terminal context. It facilitates elevated command execution by wrapping the execution model to allow for elevation within a single shell session.

## Tags

### Security & Cryptography

- [Windows Sudo Elevators](https://awesome-repositories.com/f/security-cryptography/process-privilege-elevation/windows-sudo-elevators.md) — Provides a sudo-style utility for Windows that runs commands with administrator privileges within the current shell session.
- [Privilege Elevation Wrappers](https://awesome-repositories.com/f/security-cryptography/privilege-elevation-wrappers.md) — Provides a mechanism to run specific processes as an administrator without needing a manual prompt or new window.
- [Privilege Escalation Executors](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-techniques/privilege-escalation-executors.md) — Provides a command line utility to execute individual commands under elevated administrative privileges.
- [Administrative Token Copiers](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-tools/security-token-manipulators/administrative-token-copiers.md) — Copies high-privilege security tokens from a system account to the requested process to grant administrative access.
- [Console Preservation Wrappers](https://awesome-repositories.com/f/security-cryptography/process-privilege-elevation/console-preservation-wrappers.md) — Launches elevated processes while maintaining the current terminal's standard input and output for a seamless user experience.
- [In-Process Command Elevations](https://awesome-repositories.com/f/security-cryptography/process-privilege-elevation/in-process-command-elevations.md) — Executes commands with administrative privileges directly from the current terminal window without spawning a new process. ([source](https://github.com/microsoft/sudo#readme))

### Operating Systems & Systems Programming

- [Windows Administration Utilities](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/windows-administration-utilities.md) — Managing OS configurations and protected files through a command line interface using temporary administrative elevation.
- [Windows Command Line Operations](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/system-administration-utilities/system-utilities/process-and-task-orchestration/windows-command-line-operations.md) — Acts as a native utility for executing platform-specific terminal operations to manage Windows system privileges.

### Part of an Awesome List

- [Privileged Service Proxies](https://awesome-repositories.com/f/awesome-lists/devtools/runtime-permissions/privileged-service-elevations/privileged-service-proxies.md) — Implements a privileged system service that acts as a proxy to execute commands on behalf of a less privileged user.

### Development Tools & Productivity

- [Development Context Preservers](https://awesome-repositories.com/f/development-tools-productivity/development-context-preservers.md) — Allows executing privileged system tasks directly from the current session to maintain the developer's terminal context.
