Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#119 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
operating-systems

Hướng nghiên cứu

Tái hiện quá trình cài đặt trên Windows 10.0.26120.3073 với Sudo 1.0.1 khi thiết lập SUDO trong Tùy chọn nhà phát triển bị tắt, sau đó kiểm tra sudo.exe được đặt ở đâu trong System32 và SysWOW64. Được xem là hoàn tất khi SUDO bị tắt không tạo ra bất kỳ tệp thực thi giữ chỗ nào trong hai tệp và không ghi đè một triển khai sudo khác; xác nhận hành vi sau khi cài đặt và sau một bản cập nhật Windows lớn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Issue-Bug Needs-Triage
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

Ngôn ngữ chính
Rust
Star
5.9k
Fork
180
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/sudo

Tất cả issue của microsoft/sudo

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.