Unable to use sudo @ ssh "You are not allowed to use sudo"
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.9k
- Forks
- 180
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
My user is in the Administrators group. I can use sudo without issues when I'm at the machine.
but when I ssh into my machine I can't use sudo. It just says: You are not allowed to use sudo
Being able to use sudo when accessing the machine over ssh seems like a decent use case.
Fix please!
Edit: just to be clear, i am ssh'ing in to the same user
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 reproducing the behavior with the same user locally and over SSH, comparing why sudo authorization differs between the two sessions. Done means a user in the Administrators group can use sudo when connecting to the same machine over SSH; the issue names no files or tests to begin with.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100