microsoft / microsoft/sudo

Elevate Current Shell

Open
#100 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature Needs-Attention Needs-Triage
Dominant language
Rust
Stars
5.9k
Forks
180
Avg merge
1d 7h
Merged PRs (30d)
2

Description

Description of the new feature / enhancement

using the sudo command with no options elevates the current shell, without opening a new window if set to work inline
or add an option tag to do so, Linux/Unix systems use sudo su to do so

Scenario when this would be used?

When opening a non elevated command prompt, but later needing elevated permissions for multiple commands
Could also be used in individual tabs to allow you to go back from a non elevated tab when not needing elevated permissions and not cluttering the screen with multiple windows

Supporting information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by mapping the existing sudo command behavior for Windows and how it handles an invocation without options. Done should mean that invoking sudo without options can elevate the current shell inline, with any alternate window behavior explicitly defined and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.