You are not allowed to run sudo
Open
Nobody has claimed this yet.
Help Wanted
Issue-Bug
- Dominant language
- Rust
- Stars
- 5.9k
- Forks
- 180
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
Sudo for Windows version
1.0.0
Windows build number
10.0.20348.2582
Other Software
No response
Steps to reproduce
On Windows Server 2022, in an Administrator cmd.exe window,
sudo c:\windows\system32\cmd.exe
Expected Behavior
Expect cmd to run
Actual Behavior
Got "You are not allowed to run sudo" instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sudo c:\windows\system32\cmd.exe command on Windows Server 2022 build 10.0.20348.2582 with sudo for Windows 1.0.0. Trace the path that produces “You are not allowed to run sudo”; done means the command runs as expected in an Administrator cmd.exe window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100