π» 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
- Get a hash: openssl passwd -1 "abc123" # ($1$UaRWeCmf$9lSnUAiUC5mKr3cWQsCng/)
- Run the recipe
- 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.