Gentoo Archives: gentoo-user

From: "F.J.Zhao" <fuziok@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: source /etc/profile valid for all current and future sessions
Date: Fri, 03 Nov 2006 13:28:04
Message-Id: b3a9d00b0611030522p3007e5d3ue5ca2805a182eddd@mail.gmail.com
In Reply to: [gentoo-user] source /etc/profile valid for all current and future sessions by Marco Calviani
1 Logout and login, you will find the changes have become "standard".
2 That's because login bash shell will read /etc/profile first.
3
4 2006/11/3, Marco Calviani <marco.calviani@×××××.com>:
5 > Hi list,
6 > i have a question regarding the use of global environmental
7 > variables: as root i've changed some variables inside /etc/env.d. I've
8 > updated the database with env-update and sourced them with source
9 > /etc/profile. For this changes to become available to all users i have
10 > to issue a source /etc/profile for every users AND also for future
11 > sessions. The changes become "standard" only if i reboot the machine.
12 > How is it possible to perform this changes for every users without
13 > rebooting?
14 >
15 > Thanks in advance,
16 > MC
17 > --
18 > gentoo-user@g.o mailing list
19 >
20 >
21 --
22 gentoo-user@g.o mailing list