Issue #11580 has been updated by Cory Logan.

Estimated time set to 2.00
Affected Puppet version changed from 2.7.6 to 2.7.9
Keywords changed from Lion to Lion, Puppet

Just updated my puppet server and clients. I've learned that this remains an 
issue. It appears not to be a problem on machines that were upgraded from 10.6, 
because the /var/db/shadow/SOME-GUID files already exist. I went ahead and 
created the file puppet wanted on one machine, and that fixed the problem. But 
I would be worried about this as a final solution as it might open up a 
security hole. Any thoughts?
----------------------------------------
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: Unreviewed
Priority: Normal
Assignee: 
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