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

megathread: Known sudo issues in Windows insider builds

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
operating-systems

Hướng nghiên cứu

Bắt đầu bằng cách đọc các tasklist trong issue #4 và các ghi chú release/build được tham chiếu. Không có tệp mã nguồn hoặc test nào được nêu tên, và mọi bug được liệt kê đều được đánh dấu là đã sửa, vì vậy issue không xác định một thay đổi có thể thực hiện hay điều kiện hoàn tất rõ ràng cho một người đóng góp mới.

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

Mô tả

Issue-Bug Issue-Scenario

This is a megathread for all the issues that we had previously identified before sudo was made public. There's about a 3-week delay between us fixing issues, and the fixes being available to Insiders. This creates a bit of a backlog of issues that we've already fixed, but that are still present in the Insider builds.

### Bugs fixed by 1.0.0-38, !10359415
- [x] Sudo server listens for a single connection
- [x] `sudo -N` always starts Windows applications in C:\windows\system32 - this is by design, but mitigated with:
- [x] #22 
- [x] Sudo events weren't showing up in Event Viewer
- [x] Regression from `26068`: `sudo pwsh` reports an error about "Processing -File '' failed: The path is empty"
- [x] Sudo with an explicit mode will report an error instead of clamping to the available mode

In ge_release_we_adept_dev on 2/28. ETA ~3/20?


### Bugs fixed by 1.0.0
- [x] `sudo` seemingly doesn't return the exit code of the target application??
- [x] Localization is quite a bit better
- [x] Sudo does a _better_ job of checking that the client process is sudo
- [x] The elevated sudo exits immediately after launching the target process
- [x] #21 
- [x] `--newWindow` was replaced with `--new-window` (!10282477)
- [x] Added `-N` for `--new-window` (!10282477)
- [x] `--disableInput` was replaced with `--disable-input` (!10282477)

Apparently this one is in ge_release 26068, 2/25


### Bugs fixed by 0.1.6
- [x] Localization is largely not available
- [x] Sudo doesn't log requests to the Event Viewer
- [x] `sudo dir` from powershell will do the `cmd` `dir`, not the powershell `dir`
- [x] `sudo -E --newWindow cmd` doesn't actually pass env vars to the target process
- [x] eleveated sudo doesn't check that the client process is sudo (MSFT:48520593, fixed in !10167063)

0.1.6 merged to OS.2020 in !10239101. It's in ge_release_we_adept as of 2/14, and ge_release as of 2/25, build 26068


### Bugs fixed by 0.1.5 (Windows Insiders build 26052)
- [x] The sudo icon is out of date
- [x] MSFT:48453238 Piping to files is broken
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.