Building and installing the administation tools

To manage RSBAC, you will have to install the RSBAC administration tools.

Note : the RSBAC administration tools have to match your RSBAC patch's version. E.g. : for RSBAC patch version 1.2.5, go to the download section on the website and download the archive rsbac-admin-1.2.5.

Before you get to the admin tools installation, you will need some development related packages, to be found in your distribution packages (they are probably already installed) :

Depending on your architecture, you could also need :

If you're planning to use rklogd, the logging daemon, you will need :

If you want to use the User Management module, you will need :

Building the tools

Once you've got everything needed, go to your /usr/src directory (or where you placed the tarball) :

# tar xvfj rsbac-admin-X.Y.Z.tar.bz2

Then cd into the created directory (usually rsbac-admin-X.Y.Z). Typing make will show you building options and tools list :

# make
Welcome to RSBAC!
To compile all packages, type:
``make build'

To install all packages, as administrator user, type:
``make install' or ``make install-strip'

To compile or install per package, type:
``make <package>' or ``make <package>-install'

with package one of:

 ---------------------------------------
|   headers libs nss pam rklogd tools   |
 ---------------------------------------

If you want to build only some of the tools, use the make <package> way, but if you basically want the default tools in the default location, just type :

# make build

Installing the tools

Once everything is built ok (compilation not ending with the word error somewhere), install the tools (be sure to have administative rights) :

# make install

Alternative, to save space (strips symbols from binaries)

# make install-strip

Once the installation process ends successfully, do not reboot right now. There are specific things to take care of for the first boot, so read the next section carefully.