[Feature request]Add a --user/-u option to run as an administrator account
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.9k
- Forks
- 180
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
Description of the new feature / enhancement
Hi, we have two users on Windows : a standard user and an admin user.
Can you please add a --user (-u) option to be able to run a command as the admin user ?
Scenario when this would be used?
My current user is not allowed to run sudo :
PS C:\> sudo cmd
You are not allowed to run sudo
PS C:\>
Supporting information
You can get inspired from gerardog gsudo.
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
The issue names no files, tests, or entry points. Start by reviewing the repository's existing command-line options and Windows execution flow, then determine how --user/-u should select an administrator account. Done means the described standard-user scenario can run a command under the selected admin account, with behavior defined for invalid or unavailable accounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100