Sudon't
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 30/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- rust
- 領域
- cli, operating-systems
研究方向
此 issue 提議新增一個 sudon't 命令,並將 runas.exe 與 explorer 列為現有替代方案,但沒有指出任何 repository 檔案或測試。首先定位現有 sudo 命令的進入點與 Windows 程序啟動路徑;當所提議的命令能從具有 elevated 權限的工作階段中以非 elevated 方式啟動工作,並且涵蓋所述情境時,即視為完成。
由索引模型根據 Issue 內容生成。
描述
Description of the new feature / enhancement
While there are many ways to start elevated processes from unelevated shells, starting unelevated processes from elevated shells is a rather difficult task in Windows. runas.exe and launching through explorer are available options, but each present their own limitations. Sudo for Windows provides an opportunity to add an easier avenue for accomplishing this task.
Scenario when this would be used?
Just as sudo is useful for running elevated processes out of an unelevated shell without having to open a new administrative terminal, a "sudon't" command would be useful for starting unelevated tasks out of elevated sessions without having to open a new non-administrative console. This would be useful for any task that where elevated permissions provide little more than a security risk, as well as for certain programs that behave differently based on permission levels, such as some application installers. Another use-case would be in scripts that run elevated but may wish to start tasks unelevated for the same reasons, but struggle even more so with the issue due to not being able to manually open a new shell to run the command.
Supporting information
It doesn't actually have to be called sudont (but it should).
- 主要語言
- Rust
- 星號
- 5.9k
- 分支
- 180
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/sudo 的其他 Issue
-
Issue-Bug Needs-Triage
難度 1/5 1 小時以內 新手友好度 74/100
-
Issue-Bug Needs-Triage
難度 3/5 1-2 天 新手友好度 55/100
-
Issue-Feature Needs-Triage
難度 4/5 3-5 天 新手友好度 38/100
-
Issue-Bug Needs-Triage
難度 3/5 1-2 天 新手友好度 65/100
-
Issue-Bug Needs-Triage
難度 4/5 3-5 天 新手友好度 45/100
相似的 Issue
-
needs triage
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 72/100
mozilla-services/syncstorage-rs#2715 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 70/100
-
documentation
難度 1/5 1 小時以內 新手友好度 82/100
physicsdolphin/nv-uefi-unlocker#53 · 4 個 reaction ·
維護者通常 1 天內回覆