Chapter 8. Before You Start DMF

To use DMF commands and DMF man pages, set your PATH and MANPATH environment variables. The DMF administrator commands and executable files are installed in /etc/dmf/dmbase/etc. On DMF server machines, the user commands are installed in /etc/dmf/dmbase/bin. Man pages are installed in /etc/dmf/dmbase/man. Beginning with DMF release 2.7, on client machines, the user commands are installed in /usr/bin and their man pages are installed in /usr/share/catman/u_man/cat1 . Also, beginning with DMF release 2.7, on server machines, the dmmaint utility creates links to the user commands in /usr/bin.


Note: If you are not familiar with setting the MANPATH environment variable, you should know that some paths are checked even though they are not listed by default. In other words, even though the command echo $MANPATH in ksh returns no message or in csh returns the message MANPATH - Undefined variable, certain paths are still searched for man pages. Setting the MANPATH environment variable as described in the following examples will overwrite these paths.

If MANPATH has not been set, you should read the man(1) man page to determine the paths that are checked and then include those paths in the commands below.

The following example uses sh syntax to set and display the DMF PATH environment variables:

# PATH=$PATH:/etc/dmf/dmbase/etc:/etc/dmf/dmbase/bin; export PATH
# MANPATH=$MANPATH:/etc/dmf/dmbase/man; export MANPATH
# env | grep PATH
MANPATH=/usr/man:/usr/share/catman:/usr/catman:/usr/local/man:/etc/dmf/dmbase/man
PATH=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/etc:/usr/etc:/usr/bin/X11:/etc/dmf/dmbase/etc:
/etc/dmf/dmbase/bin

The following example uses csh syntax to set and display the DMF PATH environment variables:

% setenv PATH ${PATH}:/etc/dmf/dmbase/etc:/etc/dmf/dmbase/bin
% setenv MANPATH ${MANPATH}:/etc/dmf/dmbase/man
% env |grep PATH
MANPATH=/usr/man:/usr/share/catman:/usr/catman:/usr/local/man:/etc/dmf/dmbase/man
PATH=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/bin:/etc:/usr/etc:/usr/bin/X11:/etc/dmf/dmbase/etc:
/etc/dmf/dmbase/bin

You can set the user command and man path names in the file /etc/profile for all ksh users and /etc/cshrc for all csh users, or provide a module for users.