Add paths for Edirectory on Linux and Unix#
Add the line to your ~/bashrc file or to change the path for the entire system add the following line to the /etc/bash.bashrc.local file. if the /etc/bash.bashrc.local file does not exist then create it:
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:
PATH=/opt/novell/eDirectory/bin:/opt/novell/eDirectory/sbin:$PATH LD_LIBRARY_PATH=/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib/nds-modules:/opt/novell/lib:$LD_LIBRARY_PATH MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATHThese could be different depending your installation but this is the default for the SLES 9 installation at the time of 8.8 shipping until the present (2005-12-20).
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.