Installation guide
34 NetIQ eDirectory 8.8 SP8 Installation Guide
For example, to enable user “john” to run
/bin/rpm
as root on the hostname “lnx-2,” type the
following:
john lnx-2=(root) NOPASSWD: /bin/rpm
A non-root user (“john,” in this example) needs to do the following to install NICI:
1 Log in as “john” and execute the following command:
sudo rpm -ivh nici_rpm_file_name_with_path
For example:
sudo rpm -ivh /88/Linux/Linux/setup/nici-2.7.7-5.i386.rpm
2 To initialize NICI, enter the following:
ln -sf /var/opt/novell/nici /var/novell/nici
To ensure that NICI is set to server mode, enter the following:
/var/opt/novell/nici/set_server_mode
NICI gets installed in the server mode.
Configuring User Service on SLES 12 and RHEL 7
To support services for non-root users on these platforms, start
systemd
specific to the user as a one-
time activity.
The following are the advantages of starting services as a non-root user:
A system administrator can monitor a service.
The computer starts the service on reboot.
To start
systemd
specific to a user, run the following command:
systemctl start user@<uid>.service
where
uid
is the User ID of the user.
For example,
systemctl start user@1001.service
Installing eDirectory
1 Go to the directory where you want to install eDirectory.
2 Untar the tar file as follows:
tar xvf /tar_file_name
The
etc
,
opt
, and
var
directories are created.
3 Export the paths as follows:
Manually export the environment variables by entering the following commands:
export LD_LIBRARY_PATH=custom_location/eDirectory/opt/novell/eDirectory/
lib64:custom_location/eDirectory/opt/novell/eDirectory/lib64/nds-
modules:custom_location/eDirectory/opt/novell/lib64:$LD_LIBRARY_PATH
export PATH=custom_location/eDirectory/opt/novell/eDirectory/
bin:custom_location/eDirectory/opt/novell/eDirectory/sbin:/opt/novell/
eDirectory/bin:$PATH










