[SunHELP] problem setting PATH under solaris 8
Bran Tregare
sunhelp at sunhelp.org
Wed Mar 28 04:41:07 CST 2001
Turned out that for SU ing I need to set path in /etc/default/su
and logging in as root also works now with the full path.
At 11:07 AM 3/28/01 +0200, you wrote:
>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 */
>
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list