Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUDO.EXE installed even when Developer Options and SUDO setting is off #119

Open
IDisposable opened this issue Feb 3, 2025 · 1 comment
Labels
Issue-Bug Something isn't working Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@IDisposable
Copy link

IDisposable commented Feb 3, 2025

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.

Image

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.

Image

Additionally, running that sudo.exe does nothing but tell you where to enable sudo (we're developers, we can Bing it...)

Image

@IDisposable IDisposable added Issue-Bug Something isn't working Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Feb 3, 2025
@IDisposable
Copy link
Author

IDisposable commented Feb 3, 2025

p.s. to restore Geardog's vastly superior gsudo after a Windows Update breaks your machine run:

gsudo config PathPrecedence True

This will put the directory where gsudo's sudo.exe symlink is to the front of the PATH (typically PATH=C:\Program Files\gsudo\Current;C:\WINDOWS\system32;C:\WINDOWS;...

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

1 participant