Issue #22539 has been updated by Nate Walck.

That is correct. I thought the second item may be relevant, but it turns out 
that it is not. I had tested it manually as well, but forgot to update the bug 
report.

Thanks!

----------------------------------------
Bug #22539: authentication_authority key is not set when managing root's 
password using the puppet user provider
https://projects.puppetlabs.com/issues/22539#change-98314

* Author: Nate Walck
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: user
* Target version: 
* Affected Puppet version: 3.2.4
* Keywords: OSX mac 10.8 10.8.4
* Branch: 
----------------------------------------
If you try to set the root password on OS X using the Puppet user provider, 
there are two bugs:

1. /var/db/dslocal/nodes/Default/users/root.plist has the 'passwd' key set 
incorrectly.  It sets:

<key>passwd</key>
<string>********</string>

when it should be:

<key>passwd</key>
<array>
             <string>********</string>
<array>

This causes 'dscl . read /Users/root' to not display the contents of the 
'Password' attribute. If you use 'dsenableroot' to enable root, you can see how 
the passwd key should be set (both in dscl and reading the .plist in dslocal).

2. The root user cannot log in via the loginwindow (GUI login).  SSH works, but 
the GUI does not.  The major differences I see between root and other 
puppet-made accounts is that root lacks the 'KerberosKeys' and 
'authentication_authority' keys in its dslocal plist.





-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to