Skip to content
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

MacOS Ventura: password hash not working #488

Open
feld opened this issue Jul 13, 2023 · 0 comments
Open

MacOS Ventura: password hash not working #488

feld opened this issue Jul 13, 2023 · 0 comments

Comments

@feld
Copy link

feld commented Jul 13, 2023

πŸ‘» Brief Description

Password hash appears to be set by the recipe, but does not work.

πŸ₯ž Cookbook version

8.1.10

πŸ‘©β€πŸ³ Chef-Infra Version

Chef Infra Client: 18.2.7

🎩 Platform details

ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66

Steps To Reproduce

  1. Get a hash: openssl passwd -1 "abc123" # ($1$UaRWeCmf$9lSnUAiUC5mKr3cWQsCng/)
  2. Run the recipe
  3. Try to change your password, which will request the password you just set:

$ passwd
Changing password for feld.
Old Password:
New Password:
Retype New Password:
passwd: authentication token failurepasswd

πŸš“ Expected behavior

The password you set works on MacOS

I've tried both $1$ (md5crypt) and $6$ (sha-512) variants of the password hash. Neither work. Unclear what is actually required to get a password successfully set on MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant