[Puppet Users] Re: Creating Users and Hashing it's password.

2017-02-17 Thread Vinay Korapati
password => sha1('your password') On Thursday, June 9, 2011 at 12:38:36 AM UTC+5:30, vella1tj wrote: > > Hi everyone I would like to first of all say thanks to anyone willing > to help me. > > I was tasked with creating a Admin account using puppet to push to all > of our Macs that we have

[Puppet Users] Re: Creating Users and Hashing it's password.

2013-07-25 Thread Joey Stevense
You could also use the built in sha1 function to let puppet generate the hashed version for you. Like this: user {'sysop': #uid = 500, #groups = 'admin', comment= 'Sysop', ensure

Re: [Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-13 Thread Nigel Kersten
On Sun, Jun 12, 2011 at 10:42 AM, Alexandre Martani amart...@gmail.comwrote: On Ubuntu/Debian, you can generate the hash using: mkpasswd -m sha-512 I don't know if it works on Mac, but the output of it looks like the same as the examples posted on this topic, so I think it should work.

[Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-13 Thread vella1tj
Yep, I figured it out thanks to you guys. Now it's just getting that darn home folder to get created:) Again thanks for the replies you guys are awesome. On Jun 13, 9:56 am, Nigel Kersten ni...@puppetlabs.com wrote: On Sun, Jun 12, 2011 at 10:42 AM, Alexandre Martani amart...@gmail.comwrote:

[Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-12 Thread Alexandre Martani
On Ubuntu/Debian, you can generate the hash using: mkpasswd -m sha-512 I don't know if it works on Mac, but the output of it looks like the same as the examples posted on this topic, so I think it should work.* * -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-09 Thread vella1tj
Thank you all for the quick responses I really do appreciate it, you guys are awesome!!! On Jun 8, 5:38 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, Jun 8, 2011 at 2:38 PM, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, Jun 8, 2011 at 2:11 PM, Denmat tu2bg...@gmail.com wrote:

[Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-08 Thread vella1tj
so If I changed it to user {'sysop': #uid = 500, #groups = 'admin', comment= 'Sysop', ensure= present, home = '/home/sysop', shell =

Re: [Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-08 Thread Denmat
Hi, If your password hash has any $ in it the ... will puppet make try to expand it. You need password = '$1$effggfdg' (single quotes). cheers, Den On 09/06/2011, at 5:18, vella1tj vella...@gmail.com wrote: so If I changed it to user {'sysop': #uid = 500,

Re: [Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-08 Thread Nigel Kersten
On Wed, Jun 8, 2011 at 2:11 PM, Denmat tu2bg...@gmail.com wrote: Hi, If your password hash has any $ in it the ... will puppet make try to expand it. You need password = '$1$effggfdg' (single quotes). I like using puppet resource for this. Set the password for an account, and use

Re: [Puppet Users] Re: Creating Users and Hashing it's password.

2011-06-08 Thread Nigel Kersten
On Wed, Jun 8, 2011 at 2:38 PM, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, Jun 8, 2011 at 2:11 PM, Denmat tu2bg...@gmail.com wrote: Hi, If your password hash has any $ in it the ... will puppet make try to expand it. You need password = '$1$effggfdg' (single quotes). I