Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

megathread: Known sudo issues in Windows insider builds

未关闭
#4 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust

调研方向

先阅读 issue #4 中的任务列表以及其中引用的 release/build notes。没有指定源文件或测试,并且列出的每个 bug 都标记为已修复,因此该 issue 没有为新贡献者定义可执行的变更或明确的完成条件。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Rust
星标
5.9k
派生
180
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/sudo 的其他 Issue

查看 microsoft/sudo 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。