ReleaseEngineering/PuppetAgain/Modules/users: Difference between revisions

Jump to navigation Jump to search
Line 65: Line 65:
:'''NOTE:''' no released version of Puppet supported setting passwords on Mountain Lion when we deployed it.  PuppetAgain includes a ''darwinuser'' type and a ''CustomDirectoryService'' provider for that type, both based on the work of Gary Larizza in [http://projects.puppetlabs.com/issues/12833 #12833].  What is eventually available in Puppet proper should closely resemble this implementation.
:'''NOTE:''' no released version of Puppet supported setting passwords on Mountain Lion when we deployed it.  PuppetAgain includes a ''darwinuser'' type and a ''CustomDirectoryService'' provider for that type, both based on the work of Gary Larizza in [http://projects.puppetlabs.com/issues/12833 #12833].  What is eventually available in Puppet proper should closely resemble this implementation.


Authentication on Mountain Lion takes place based on three pieces of information: iterations, salt, and password (called 'entropy' by OS X). You can get this information for an existing user with [http://hg.mozilla.org/build/puppet/raw-file/default/setup/mtnlion-user-info.rb setup/mtnlion-user-info.rb]:
Authentication on Mountain Lion takes place based on three pieces of information: iterations, salt, and password (called 'entropy' by OS X). You can get this information for an existing user with [http://hg.mozilla.org/build/puppet/raw-file/default/setup/mtnlion-user-info.rb setup/mtnlion-user-info.rb]:
    
    
   sudo ruby mtnlion-user-info.rb %username%
   sudo ruby mtnlion-user-info.rb %user%


and then add it to the [[ReleaseEngineering/PuppetAgain/Secrets|secrets]] for your installation.
and then add it to the [[ReleaseEngineering/PuppetAgain/Secrets|secrets]] for your installation.
If you want to retrieve the information for the ''root'' account, you may have to [http://support.apple.com/kb/ht1528 enable the root user] first.


=== 10.9 (Mavericks) ===
=== 10.9 (Mavericks) ===
canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,751

edits

Navigation menu