-
Notifications
You must be signed in to change notification settings - Fork 3
Creating Users & Groups (Ubuntu)
Joe Wollard edited this page Feb 24, 2014
·
5 revisions
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