print logo

Building local users with the luggage

A common way to deploy local users is to use a payload-free package, relying on a postinstall script to create the user. My approach is slightly different, I create the user first, and then make a package of everything.

The Luggage is a tool developed by Joe Block, and it relies on make to build OS X-packages

In our setup we have to create a few local users, and of course, there are different users depending on which department the machine is located in. This sums up to quite many installer packages that needs to be maintained. 

The idea is to create the user in a temporary direcory node in /tmp, and then use the luggage to make a package of this node. If we want to give the user admin rights, this has to be done post-install, since we need to modify the local directory node of the target computer. So we make a postflight script and add that to the package as well. 

Emneord: OS X, The Luggage, Directory Services Av Anders Bruvik
Publisert 26. feb. 2011 10:37 - Sist endret 21. nov. 2011 14:54
Legg til kommentar

For å kommentere på dette dokumentet må du logge inn

Hvis du ikke har UiO- eller Feide-brukernavn kan du opprette en WebID-bruker.