9.2 Installing the Identity Vault as a Non-root User

This section describes how to use the tarball, instead of the nds-install utility, to install the Identity Vault. When you untar the tar file, the system creates the etc, opt, and var directories.

For more information about prerequisites for a non-root installation, see Section 7.2.2, Prerequisites for Installing the Identity Vault as a Non-root User.

NOTE:You can also use this process when you want to specify a custom path while installing as a root user.

To install the Identity Vault as a non-root user:

  1. Log in as a sudo user with the appropriate rights to the computer where you want to install the Identity Vault.

    NOTE:You can also log in as a root user, when you want to specify a custom installation path.

  2. In the directory where you want to install the Identity Vault, use the following command to untar the tar file:

    tar xvf /tar_file_name
  3. (Conditional) To manually export the paths for environment variables, enter the following command:

    export LD_LIBRARY_PATH=custom_location/eDirectory/opt/novell/eDirectory/
    lib64:custom_location/eDirectory/opt/novell/eDirectory/lib64/ndsmodules:
    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
    
    export MANPATH=custom_location/eDirectory/opt/novell/man:custom_location/
    eDirectory/opt/novell/eDirectory/man:$MANPATH
    
    export TEXTDOMAINDIR=custom_location/eDirectory/opt/novell/eDirectory/
    share/locale:$TEXTDOMAINDIR
  4. (Conditional) To use the ndspath script to export the paths for environment variables, you must prefix the ndspath script to the utility. Complete the following steps:

    1. From the custom_location/eDirectory/opt directory, run the utility with the following command:

      custom_location/eDirectory/opt/novell/eDirectory/bin/ndspath
      utility_name_with_parameters
    2. Export the paths in the current shell with the following command:

      . custom_location/eDirectory/opt/novell/eDirectory/bin/ndspath
    3. Run the utilities as normal.

    4. Add the instructions for exporting the path to the end of /etc/profile, ~/bashrc, or similar scripts.

      This step allows you to start the utilities directly whenever you log in or open a new shell.

  5. To configure the Identity Vault, complete one of the following steps:

    1. To run the ndsconfig utility, enter the following text at the command line:

      ndsconfig new [-t treename] [-n server_context] [-a admin_FDN] [-w
      admin password] [-i] [-S server_name] [-d path_for_dib] [-m module] [e] [-L ldap_port] [-l SSL_port] [-o http_port] -O https_port] [-p IP address:[port]] [-c] [-b port_to_bind] [-B interface1@port1, interface2@port2,..] [-D custom_location] [--config-file configuration_file]

      For example:

      ndsconfig new -t mary-tree -n novell -a admin.novell -S linux1 -d /home/
      mary/inst1/data -b 1025 -L 1026 -l 1027 -o 1028 -O 1029 -D /home/mary/
      inst1/var --config-file /home/mary/inst1/nds.conf

      NOTE:

      • For more information about the parameters that you can specify with the ndsconfig utility, see Section 11.1.1, Understanding the ndsconfig Utility Parameters.

      • You must specify port numbers between 1024 and 65535. You cannot assume the default port 524 for any eDirectory applications.

        This limitation on port specification might adversely affect the following types of applications:

        • Applications that do not have an option to specify the target server port.

        • Older applications that use NCP, and run as root for 524.

      • You can specify IPv6 addresses in the -B and -P options. To specify an IPv6 address, you must contain the address within square braces [ ]. For example, -B [2015::4]@636.

      • You must install and configure NetIQ SecreStore (ss). For more information, see Section 11.1.2, Adding SecretStore to the Identity Vault Schema.

    2. Use the ndsmanage utility to configure a new instance. For more information, see Section 11.2.2, Creating a New Instance in the Identity Vault.