===== Building and installing the administation tools ===== To successfully manage RSBAC, you will have to install the RSBAC administration tools. **Note :** the RSBAC administration tools have to match your RSBAC version. E.g.: for RSBAC version 1.2.5, go to the [[http://rsbac.org/download#rsbac_admin_utilities_and_common_rsbac_base_archive|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) : * ''gcc'' * ''make'' * ''binutils'' * ''coreutils'' * ''libc-dev'' * ''findutils'' * ''dialog'' Depending on your architecture, you could also need : * ''kernel-headers'' If you're planning to use ''rklogd'', the logging daemon, you will need : * ''ncurses-dev'' * ''ncurses-lib'' If you want to use the User Management module, you will need : * ''pam-dev'' **Important:** Please check that your ''/etc/ld.so.conf'' file exists and contain the following line: /usr/local/lib ==== Building the tools ==== Once you've got everything required, go to the ''/usr/src'' directory (or where you want to unpack 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 ' or ``make -install' with package one of: --------------------------------------- | headers libs nss pam rklogd tools | --------------------------------------- If you want to build only some of the tools, use the ''make '' 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, makes debugging hardly possible)// # 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. \\ ---- **Table of Contents:** [[documentation:rsbac_handbook|RSBAC Handbook]]\\ **Previous:** [[documentation:rsbac_handbook:installation:installing_from_source:linux_kernel|Linux Kernel]]\\ **Next:** [[:documentation/rsbac_handbook/installation/first_boot|First boot]]