SUDO.EXE installed even when Developer Options and SUDO setting is off
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.9k
- Forks
- 180
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
Sudo for Windows version
1.0.1
Windows build number
Microsoft Windows [Version 10.0.26120.3073]
Other Software
No response
Steps to reproduce
Please fix the windows installation so that when SUDO is disabled in developer settings it doesn't create a placeholder sudo.exe which breaks whatever sudo implementation we already have our every time we run major Windows Updates?
The installed sudo.exe is completely useless and merely shows where to enable it (RUDE) and prevents loading of one we already have.
No means No.
Expected Behavior
No sudo.exe to be installed, much less in a directory so early in the PATH
Actual Behavior
A useless sudo.exe file is created in TWO places C:\Windows\SysWOW64 and C:\Windows\System32 which are found before any other installed files merely because those directories are by default the first things in the PATH.
Additionally, running that sudo.exe does nothing but tell you where to enable sudo (we're developers, we can Bing it...)
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
Reproduce the installation on Windows 10.0.26120.3073 with Sudo 1.0.1 while the Developer Options SUDO setting is disabled, then inspect where sudo.exe is placed in System32 and SysWOW64. Done means disabled SUDO does not create either placeholder executable or override another sudo implementation; confirm the behavior after installation and a major Windows update.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100