Issue #11580 has been updated by Gary Larizza.

Cory, if you check out  https://projects.puppetlabs.com/issues/11293 there's a 
fix that's been merged to master.  Check it out and see if it works well for 
you (and comment on that ticket if you notice any issues).  Thanks!
----------------------------------------
Bug #11580: Mac OS 10.7 Lion @user password:  No such file or directory - 
/var/db/shadow/hash
https://projects.puppetlabs.com/issues/11580

Author: Cory Logan
Status: Duplicate
Priority: Normal
Assignee: Gary Larizza
Category: OSX
Target version: 2.7.x
Affected Puppet version: 2.7.9
Keywords: Lion, Puppet
Branch: 


Howdy folks.

We're just getting around to managing Lion machines, and one of the things we 
do is create an admin user on all of our machines by passing a hashed password 
in one of our modules. Anyway, this if failing pretty hard due to this error. 
And it's true, in Lion there is no /var/db/shadow/hash...  
 
`No such file or directory - /var/db/shadow/hash Puppet error`

This information has been moved as noted here:
http://www.hackmac.org/forum/topic/260-cracking-107-lion-password-hashes/

Anyway,  I'd really love to be able to keep our code the same and just upgrade 
puppet to work, if this is something that is going to be resolved. Writing up 
some exec statements might not take too too long. Does anyone know that this 
issue has been addressed? I haven't found it anywhere. And is anyone else 
running into this? Just for reference sake, here's what we're doing to create 
our user in the manifest:

`    @user { "ladmin":
        ensure              => present,
        comment          => "Local Admin",
        home                => "/Users/.ladmin",
        shell                 => "/bin/bash",
        uid                     => '420',
        gid                     => '20',
        password        => 'the_password_hash_goes_here',
    }
`

Thanks a zillion!
Cory


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to