Re: Global variables
On Wednesday 05 June 2002 02:11, Carlos Sousa wrote:
> On Sat, 1 Jun 2002 00:09:42 -0500 dman <dman@dman.ddts.net> wrote:
> > ...
> > Yes -- the problem is the user's .profile doesn't source the system
> > one. It isn't automagically sourced.
>
> It should be. From the bash man page:
>
> When bash is invoked as an interactive login shell, or as
> a non-interactive shell with the --login option, it first
> reads and executes commands from the file /etc/profile, if
> that file exists.
OK, I don't know if this was already said, but I have to include
if [ -f /etc/profile ]; then
. /etc/profile
fi
in the users .profile to have changes there become effective. Bug?
--
Embedded Linux -- True multitasking!
TWO TOASTS AT THE SAME TIME!
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: