[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep.sh in /etc/profile
From: |
Chris B . Vetter |
Subject: |
Re: GNUstep.sh in /etc/profile |
Date: |
Wed, 8 May 2002 15:53:46 -0700 |
On Wed, 8 May 2002 23:50:29 +0200
Andreas Hoeschler <ahoesch@advanced-science.com> wrote:
> Hi,
> I have the entry
> . /opt/GNUstep/System/Makefiles/GNUstep.sh
> in /etc/profile and use bash for all users. If I log in as ahoesch the
> PATH variable is correctly set according to GNUstep.sh. When I log in as
> root, it works as well. However, if I log in as ahoesch and then su to
> root, the PATH variable does not get set and I have to manually call ".
> /opt/GNUstep/System/Makefiles/GNUstep.sh". Why is this the case? This is
> on Solaris 8. How can this be fixed?
Looks like you just call "su" or "su [user]" ... try "su - [user]"
to simulate a fresh/full login.
--
Chris