Creating Users & Groups (Ubuntu) - wollardj/Mandrill GitHub Wiki

When Mandrill is launched as a root process and the MANDRILL_MODE environment variable is set to 'production', the startup code will automatically attempt to become the _mandrill user by calling setuid on its own process. This is currently hard-coded, but may be configurable some day.

sudo addgroup --system munki
sudo adduser --system _mandrill --ingroup munki --force-badname

We use --force-badname here because Ubuntu doesn't like the underscore in the name. Other operating systems don't seem to mind, it hasn't caused any problems so far, and since OS X generally prefixes their own daemon user accounts with an underscore, we'll keep it that way for now.


Next: Install build tools