Issue #19783 has been reported by Jesse Endahl. ---------------------------------------- Bug #19783: Puppet package for OS X creates puppet user in reserved UID range https://projects.puppetlabs.com/issues/19783
* Author: Jesse Endahl * Status: Unreviewed * Priority: Normal * Assignee: * Category: OSX * Target version: * Affected Puppet version: 3.1.1 * Keywords: puppet users group os x mac package post postflight script * Branch: ---------------------------------------- Apple reserves the 0-100 range for their own system services, and putting stuff there is risky because they could decide to start using any ID in that range at any time (in a future OS update). There is evidence that they reserve all the way up to 400. For documentation of the 0-100 reservation, see page 69 of the 10.6 Server PDF: http://manuals.info.apple.com/en_US/UserMgmt_v10.6.pdf “User IDs between 0 and 100 are reserved for system use and should not be deleted or modified except to change the password of the root user. Accounts with user IDs below 100 aren’t listed in the login window.” As for the theory about up to 400 being reserved—the evidence for that is that Apple’s support document on how to create hidden users uses the example of UID 401. See the section under “Lower the user’s UID and enable the Hide500Users option (advanced) ” on this page: http://support.apple.com/kb/ht5017?viewlocale=en_us On a related note, I do think it’s a positive thing that as it stands now, the puppet account that gets created at UID 52 is hidden from the UI, and I think if the change is made to use a UID in the 401-499 range, you should consider adding this line to the postflight script to enable hiding of sub-500 users, which I am pretty sure works all the way from 10.6 to 10.8: sudo defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool YES -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
