# puppet apply -e 'user { "testuser": password => 
"$6$MhRLkUTo$9RhLb3AfsO4HSxeHdLOLCPBj7LRH6vGOx1zPcvpfVRGOuJPczjEyaYoS3SyQ6MESctWarz2VDhD4ZT9wHe61v/"
 }'
Notice: Compiled catalog for db-node2.site in environment production in 0.07 
seconds
Notice: Finished catalog run in 0.06 seconds

Best regards,
Sergey Arlashin

On Nov 27, 2013, at 3:00 PM, Felix Frank <[email protected]> 
wrote:

> Ugh. So, does it work with other values (e.g., actual password hashes)?
> 
> On 11/27/2013 11:57 AM, Sergey Arlashin wrote:
>> 
>> # puppet apply -e 'user { "testuser": password => "*" }'
>> Notice: Compiled catalog for db-node2.site in environment production in 0.07 
>> seconds
>> Notice: Finished catalog run in 0.08 seconds
>> 
>> # cat /etc/shadow |grep ^testuser
>> testuser:$6$.JNdUYPK$KUcfD3urk5290LvluOE.wnCKoEibMqd2.uiT/X0ezS29JaXfk4T9K57ea/6mSU7Z/8ppi8IiNNV7bkVYc5p0s0:16036:0:99999:7:::
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/5295D0C3.6090306%40alumni.tu-berlin.de.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CD1DE611-372E-4D93-9419-598FF52B663E%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to