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
:police_car: 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.
:ghost: Brief Description
Password hash appears to be set by the recipe, but does not work.
:pancakes: Cookbook version
8.1.10
:woman_cook: Chef-Infra Version
Chef Infra Client: 18.2.7
:tophat: Platform details
ProductName: macOS ProductVersion: 13.4 BuildVersion: 22F66
Steps To Reproduce
$ passwd Changing password for feld. Old Password: New Password: Retype New Password: passwd: authentication token failurepasswd
:police_car: 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.