mattn / mattn/sudo

two error

Open
#9 0 comments 0 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

windows 10

1) `sudo timeout 3` error: input redirect is not supported.
2) environment variable is not exported to sudo process, from my con ConEmu I have executed `sudo su` where 'su' is an alias of `ConEmuC -c %ConEmuTask% -cur_console:ad:%CD%`; the output is `sudo: cannot execute command: su`

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

Start by reproducing both commands on Windows 10: `sudo timeout 3` with input redirection and `sudo su` from ConEmu, where `su` is an alias. Trace how sudo handles redirected input, environment variables, and command execution; done means both reported commands work as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.