Issue #22539 has been updated by Nate Walck.
Ugh, I always forget about the formatting. The code block preview does not seem
to be working....
<pre>
passwd = "********";
</pre>
and it should look like this:
<pre>
passwd = (
"********";
);
</pre>
The first example is what puppet does when manipulating users. This is a bug,
yet normal users work fine with it this way (although it is incorrect). The
second example is how it should look (the key is in an array).
----------------------------------------
Bug #22539: passwd key is set incorrectly when managing root's password using
the puppet user provider
https://projects.puppetlabs.com/issues/22539#change-97505
* Author: Nate Walck
* Status: Unreviewed
* 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.