How to include eDirectory 8.8 paths by default in the system path

  • 3757418
  • 31-May-2007
  • 27-Apr-2012


Novell eDirectory 8.8 for Solaris
Novell eDirectory 8.8 for Linux
Novell eDirectory 8.8 for HP-UX
Novell eDirectory 8.8 for AIX
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Server 9


Cannot run eDirectory commands directly without using the absolute path for the executables.
How to include eDirectory 8.8 paths by default in the system path on SLES 9.


To change the path for the entire system add the following line to the /etc/bash.bashrc.local file; if the file does not exist then create it (note the space between the '.' and the path):

. /opt/novell/eDirectory/bin/ndspath

This line assumes the default installation path and sets the following variables; if you installed into a different directory the path to the ndspath command may be different:


These could be different depending your installation but this is the default for the SLES and Solaris installations at the time of 8.8 shipping until the present (2007-05-31).
To change the path for an individual user change the .bashrc file in that user's home directory (~/.bashrc) adding the same line mentioned above. This is useful if you only want (for example) root to have the eDirectory commands in its path keeping the users from getting confused by the presence of extra commands they may not be familiar with. It should also help keep users from having to put additinoal work on the server by searching through additional paths.

Additional Information

eDirectory, after installation, does not presume that you definitely want to have it hard-coded into the PATH for your entire server. This should be an administrator decision to keep from having strange issues if you are writing your own scripts. As an alternative at the end of the installation the administrator is prompted to change their PATH, if they so desire, to include the new eDirectory path. This can be done for the entire system or for individual users.

Formerly known as TID# 10100009