Bourne and Korn Shells
See the discussion above about the files automatically executed by the Bourne and Korn shells. The easiest way to change the two PATHs for all users on your HP-UX machine is to log on as root and add these two lines to the file /etc/profile after any existing PATH or MANPATH statements:
PATH=$PATH:/opt/robelle/bin
MANPATH=$MANPATH:/opt/robelle/man
Remember to delete any PATH or MANPATH settings in /etc/d.profile, so that new users do not override your changes. You also have to warn existing Bourne and Korn shell users to change the .profile file in their home directories.