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.com>wrote: > > > 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. > > Mac OS X has a more complex password hash with required zero padding that is > rather annoying. > > user { 'demo': > ensure => 'present', > comment => 'demo', > gid => '20', > home => '/Users/demo', > password => > '00000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 0000000000000000000E2FA8B0FC9EEEE8C9C3D20C346F59145BAF0BBF2352709CF00000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 000000000000000000000000000000000000000000000000000000000000000000000000000 > 00000000000000000000000000000000000000000', > shell => '/bin/bash', > uid => '502', > > } > > Told you it was annoying :) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.