-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure installing for specific user on macOS #5208
Comments
Hi @Chuckytuh, This failed for me regardless if I set the home directory or not. My
|
Had similar problem with the GUI installer on Mac Monterey 12.3.1 - failed when trying to install for specific user, works when installaing for all users.
|
Which terminal are you using? |
I had this problem when installed both for an specific user and for every user with both the GUI installer and the CLI installer. I got it to work by temporarily removing these lines from # sudo: auth account password session
- auth optional /opt/homebrew/lib/pam/pam_reattach.so ignore_ssh
- auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so I previously added those lines so that I am adding this comment so that if anyone has the same problem they can know a possible fix. |
In October 2024, still getting this issue with the AWS CLI v2 install with Rosetta on an M-Series Mac. |
Is there a workaround here? Is it not possible to install the AWS CLI tool for a specific user on MacOS? |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Unable to successfully install aws-cli v2.0.14 for specific user as specified on installation guide.
However, if installed system-wide, there's no problems and installation succeeds.
SDK version number
Platform/OS/Hardware/Device
Output of
sw_vers
:Bundled python from OSX:
To Reproduce (observed behavior)
The following commands were issued:
And the content of
choices.xml
is:Expected behavior
Installation to a specific user to succeed.
Logs/output
/var/log/install.log
:Additional context
User
temp_user
was created through an ansible playbook but the problem is also reproducible when the user is created and an explicit home folder is set. This time on another machine with Mojave, in the following manner:However, the problem doesn't occur when the user is created without explicitly setting the home folder:
The text was updated successfully, but these errors were encountered: