microsoft / microsoft/sudo

Please support `-H`/`--set-home`

Open
#19 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

sudo on Linux has an option -H/--set-home, which sets the home directory to that of the target user. (If this is already the default behavior, then consider accepting and ignoring the option, for compatibility.)

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

Start by tracing sudo's command-line option handling and how it determines the target user's home directory. Compare the requested -H/--set-home behavior with the existing default, then verify that the option is accepted and either applies the target home or is safely ignored for compatibility.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.