How do I determine the password attribute value for the Chef “user” resource?
问题 I'm trying to create a user account using Chef 11, and am not sure how to calculate the password attribute's value. I've read the User Resource documentation http://docs.opscode.com/resource_user.html, specifically the section "Password Shadow Hash", and am still unsure what exactly to do. This user is being created on an Ubuntu system, so do I use the openssl example they provided and pass the output of that command as the password attribute value? openssl passwd -1 "theplaintextpassword"