ReleaseEngineering/How To/Reset a Password with Puppet

< ReleaseEngineering‎ | How To
Revision as of 23:08, 17 February 2011 by Djmitche (talk | contribs) (Created page with "{{Release Engineering How To|Reset the cltbld Password with Puppet}} Passwords are stored in a hashed format alongside other user information. We do not put the hashes in a publi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Passwords are stored in a hashed format alongside other user information. We do not put the hashes in a public location for hopefully obvious reasons - please make sure you don't do this by accident.

Let's say you want to update cltbld's password. First, you need to generate the new hash. You can do that by running the following:

makepasswd --clearfrom=- --crypt-md5
# now type the password and hit ^D a couple times

Now, copy and paste that password into /etc/puppet/manifests/build/cltbld.pp as the 'password' for the cltbld user. Do this on all active puppet masters. do not check this change in!