Asking for user password on mac2.metal ec2
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
I am running xcodes install --latest --experimental-unxip --empty-trash as ec2-user on a mac2.metal ec2 instance.
There is no password for the user, but it is able to sudo. However, it is prompting for the password anyway. Can xcodes detect and not prompt for password?
As a workaround, I am running sudo su and becoming root and then xcodes install --latest --experimental-unxip --empty-trash. Hopefully that works.
If not, I will try the --no-superuser flag. Not sure what becoming root actually sets up.
Don't ask for superuser (root) permission. Some optional steps of the installation will be skipped.
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
Reproduce the prompt with xcodes install --latest --experimental-unxip --empty-trash as ec2-user on a mac2.metal EC2 instance, then compare it with running as root and with --no-superuser. Confirm that a sudo-capable user without a password no longer receives an unnecessary prompt, while documenting any optional steps that remain skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- authorization, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100