Sudon't
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- cli, operating-systems
調査の方向性
この Issue では sudon't コマンドを提案し、既存の代替手段として runas.exe と explorer を挙げていますが、リポジトリのファイルやテストは示していません。まず、既存の sudo コマンドのエントリポイントと Windows プロセス起動パスを見つけてください。提案されたコマンドが、昇格されたセッションからタスクを昇格なしで起動し、記載されたシナリオをカバーするテストがある状態になれば完了です。
索引モデルが 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 ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
ai-priority/P2 bug db/oracle user-priority/P1
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
swc-project/swc#12516 ·
メンテナーはふだん 1 日以内に返信
-
app bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100