[SunHELP] problem setting PATH under solaris 8
Magnus Abrante
sunhelp at sunhelp.org
Wed Mar 28 03:07:04 CST 2001
On Tue, Mar 27, 2001 at 05:50:12PM -0800, Bran Tregare wrote:
> I edited both /.cshrc and /.profile and inserted the appropriate
> directories in the path but the root shell doesn't seem to want to pick it
> up :(
>
Define rootshell here, are you performing a login as root, or are you
using "su"?
If you are doing a "su root" then root will not source the .profile
or the sourcefile of whatever shell you are using. It will rather
own the paths and environment of the "su"ing user.
If you do a su - root it should source the files in question.
You might also want to look on the "SUPATH" variable in /etc/default/login
//Magnus Abrante
/* This is my opinion and not the one of my empolyer */
More information about the SunHELP
mailing list