- From: "Jason J. W. Williams" <
>
- To:
- Subject: [chef] Re: Re: Removing root's password results in 'ruby-shadow not installed' error.
- Date: Tue, 3 May 2011 18:51:11 -0600
- 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=slWN3wxW9b49H+GH8M0KC5CSJfoUTpLELOUMxsT/PEHTCVJ2081uhVkwLsiJJuAZYU SFQFKpdJcwsdoOku2/hGbHizKisfKGTlLG2KiQvD+tEdCH/sBWblM6NISWG3o21HgfHp jjcRHCnPHvdH8cV7LK+5GQX8Qp+OFRQZoyAns=
Hi Bryan,
>
You need the ruby-shadow library for modifying a user password. It
>
isn't installed by the gems as a dependency because it is optional.
Actually I do this already in the recipe at the beginning, just not
included in that snippet:
gem_package "ruby-shadow" do
action :install
end
>
This should be a hash.
Since I want to remove the password how do you do a hash of nothing?
;) Setting it '*' was a guess that it was just setting the password
field in /etc/shadow directly.
-J
[chef] Re: Removing root's password results in 'ruby-shadow not installed' error., Jay Buffington, 05/03/2011
[chef] Re: Removing root's password results in 'ruby-shadow not installed' error., Ian Marlier, 05/03/2011
[chef] Re: Removing root's password results in 'ruby-shadow not installed' error., Bryan McLellan, 05/03/2011
Archive powered by MHonArc 2.6.16.