[chef] Re: How to keep from resetting user password


Chronological Thread 
  • From: " " < >
  • To:
  • Subject: [chef] Re: How to keep from resetting user password
  • Date: Sat, 25 Sep 2010 11:49:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IwxZr/DsdL0XP/HAo7wDQdkty4QbW6IFOYgRagJbK+5ytikcrhqW34z4735ciCjw6j 90Tp4RzcR/4+nViJgjnK2ZWhd5jXFCdyt99C3qh9rROZL5kIPGqkw+0daHjvfaTW5+V/ UQSoAcd2ZAerniAsbSbNcqS9qry/BeDjnFP8A=

write a script or web interface that stores the password hashes in a databag on the chef server for the users who changed their password and then pull that new hash value into your cookbook. this is currently how I did it, not sure if it's the best way but it works.

--sahil


On Sat, Sep 25, 2010 at 11:47 AM, < "> > wrote:
I want to use chef to maintain users with a default password while allowing the
user to change their password.  Each time I rerun chef-client, the user's
password gets reset.  Is there a way I can keep it from resetting back to the
default?  I'm thinking about only adding the password param if the entry isn't
already in /etc/passwd but it seems like there should be an easier way?




Archive powered by MHonArc 2.6.16.

§