mattn / mattn/sudo

Add -u option to run as a different user (Enhancement Request)

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

Nobody has claimed this yet.

Dominant language
Go
Stars
748
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add a -u switch, so I can run a program as a different user?

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or entry points. Start by reading the command's option parsing and process-launching paths, then determine the Windows-specific behavior needed for selecting another user and define tests that demonstrate successful and failed user changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.