canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,747
edits
| 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/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]: | ||
ruby mtnlion-user-info.rb | |||
sudo ruby mtnlion-user-info.rb %username% | |||
and then add it to the ''secrets.csv'' for your installation. | and then add it to the ''secrets.csv'' for your installation. | ||