Menu

Building

Jared Jacobson

Please read through all of the build instructions before beginning the build.

To build this on an Ubuntu system, you will need to install the libpam0g
development libarary:

$ sudo apt-get install libpam0g-dev

If you don't already have gcc installed, run the following:

$ sudo apt-get install build-essential

Then navigate to the directory where you unpacked the files and execute the
following:

$ sudo make install

This will do three things:

  1. Build the PAM module
  2. Install the PAM module
  3. Add an Upstart job to start the user-task watcher/killer

If your operating system does not use Upstart (known distributions that do
are Ubuntu 11.10 and 12.04, and Red Hat Enterprise Linux 6), you will need to
tailor the Makefile to remove the last two commands under the "install" target.
It is possible to create a SysVInit script to start the user-logger. I'm
looking for people who use a non-Upstart distribution to contribute scripts to
do it.


MongoDB Logo MongoDB