On Sun, Jun 12, 2011 at 10:42 AM, Alexandre Martani <[email protected]>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 =>
'000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E2FA8B0FC9EEEE8C9C3D20C346F59145BAF0BBF2352709CF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.