Skip to content

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

MANUAL INSTALL GUIDE

  1. Users & Groups: Ubuntu | CentOS
  2. Build Tools: Ubuntu | CentOS
  3. NodeJS
  4. Nginx & pm2: Ubuntu | CentOS
  5. Config pm2
  6. Config Nginx: Ubuntu | CentOS
  7. Meteor: Ubuntu | CentOS
  8. MongoDB: Ubuntu | CentOS
  9. Mandrill

MANAGING YOUR SERVER

MANAGING ACCOUNTS

Clone this wiki locally