Please support `-H`/`--set-home`
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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