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
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
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.
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:
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
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:
so If I changed it to
user {'sysop':
#uid = 500,
#groups = 'admin',
comment= 'Sysop',
ensure= present,
home = '/home/sysop',
shell =
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,
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
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
10 matches
Mail list logo