3.3 Configuring Your Environment

Before configuring eDirectory, you need to configure the shell for eDirectory by executing ndspath when launching a shell. This points the shell to the eDirectory binary files, and it enables the man pages for eDirectory.

To do this, you add this command to the /etc/profile.local file. The following procedure creates the profile.local script file in the /etc directory and adds the command to this file.

  1. From the Computer menu, select Gnome Terminal.

  2. Log in as root by entering su, then enter the root password.

  3. Enter the following command: echo . /opt/novell/eDirectory/bin/ndspath >> /etc/profile.local.

The entry in the /etc/profile.local file is not applied until the server is rebooted, or until you do the following to apply the script to the shell:

  1. Enter . /opt/novell/eDirectory/bin/ndspath to execute the script in your current shell.

    or

    Enter source /etc/profile.local to execute the script file.

  2. Enter exit twice to log out as root and close the Gnome Terminal.

  3. Proceed to Section 3.4, Configuring eDirectory.