Friday, September 18, 2009

Change default PATH in Solaris 10

Next item is the default PATH for the root user and regular users. You can set this in the files

/etc/default/login
/etc/default/su

Please feel free to be pedantic and set PATH and SUPATH in both of those files to something useful thus :
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/sbin:/usr/local/bin

No comments:

Post a Comment