You can set the system path in /etc/default/login (note the PATH and
SUPATH settings).  This works for either GDM or CDE login.  Refer
to "man login" for more information.

GDM sources /etc/profile and $HOME/.profile.  If a user wants to 
customize the PATH, the $HOME/.profile file is best since it will
work regardless of shell.

So, if you use OpenSolaris, or Solaris with GDM, this works well.

> For anyone concerned, X11 and GDM scripts do interfere with a users PATH.

It is common for a display manager to set the PATH for the user on
login.  I wouldn't say this is "interfering", though.  There are
interfaces such as /etc/default/login and /etc/profile where people
can specify how PATH should be set.

Brian

Reply via email to