Le mardi 26 novembre 2013, à 15:02 -0800, Jonathan Brownell a écrit :
> I would like to change the password of the "crowbar" user on my admin
> node so that it is not left at a value that's readily known and
> accessible by anyone with Crowbar experience.
> 
> However, when I set it to a different value using "passwd" from the
> console, it's set right back to its original value by barclamp-crowbar
> as seen on line 66 of this file:
> https://github.com/crowbar/barclamp-crowbar/blob/release/pebbles/master/chef/cookbooks/crowbar/recipes/default.rb

This is not run if the crowbar user already exists, see:

 not_if "egrep -qi '^crowbar:' /etc/passwd"

(and that seems to work fine, as we the crowbar user in SUSE Cloud
cannot be used for login)

Could it be reset by something else?

Vincent

> If I force the password change and comment that portion out of the
> recipe, then it causes all kinds of problems when I try to allocate
> and use client nodes. (The first visible effect is that their networks
> get all screwed up on the first chef-client run, and they lose the
> connection to the admin node altogether.)
> 
> The wiki page here was an interesting read:
> https://github.com/crowbar/crowbar/wiki/Username-and-Password-Customizations
> 
> But its directions are primarily focused on the client nodes (spawned
> via the preseed script) and not on the "crowbar" user on the admin
> node itself.
> 
> Do other barclamps depend on the password on the Crowbar admin node?
> Can anyone point me in the right direction?
> 
> Thanks,
> 
> -JB
> 
> _______________________________________________
> Crowbar mailing list
> Crowbar@dell.com
> https://lists.us.dell.com/mailman/listinfo/crowbar
> For more information: http://crowbar.github.com/
> 

-- 
Les gens heureux ne sont pas pressés.

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to