target adding breaks sudo
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Problem
After rustup target add wasm32-unknown-unknown, my correct user password for sudo became invalid. And after i removed it with rustup target remove wasm-32-unknown-unknown, sudo started behave as normal
Steps
- Add
target wasm32-unknown-unknown:rustup target add wasm32-unknown-unknown - Try any command with
sudo:sudo ls - Get invalid password error
Possible Solution(s)
No response
Notes
$ uname -a
Linux artix 6.2.11-artix1-1 #1 SMP PREEMPT_DYNAMIC Sun, 16 Apr 2023 02:07:11 +0000 x86_64 GNU/Linux
Rustup version
rustup 1.25.2 (17db695f1 2023-02-01)
Installed toolchains
Default host: x86_64-unknown-linux-gnu
rustup home: /home/user/.rustup
stable-x86_64-unknown-linux-gnu (default)
rustc 1.69.0 (84c898d65 2023-04-16)
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 reported sequence with rustup target add wasm32-unknown-unknown, sudo ls, and rustup target remove wasm-32-unknown-unknown on the stated Linux environment. Investigate what changes during target installation and removal, then verify that sudo accepts the correct password while the target remains installed and after it is removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100