Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide
Changing the User or System Path
The login server sets the PATH environment variable when it runs the Xsession and Xfailsafe scripts. You can provide
an alternate path to these scripts
To Change the User Path
Set the Dtlogin*userPath resource in Xconfig. For example:
Dtlogin*userPath:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11
To Change the System Path
Set the Dtlogin*systemPath resource in Xconfig. For example:
Dtlogin*systemPath: /usr/bin/X11:/etc:/bin:/usr/bin:/usr/ucb