From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-54213-garchives=archives.gentoo.org@gentoo.org>)
	id 1Gfz5X-0006Ce-Uj
	for garchives@archives.gentoo.org; Fri, 03 Nov 2006 13:28:04 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA3DPprN007620;
	Fri, 3 Nov 2006 13:25:51 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA3DMjN7026312
	for <gentoo-user@lists.gentoo.org>; Fri, 3 Nov 2006 13:22:45 GMT
Received: by nf-out-0910.google.com with SMTP id a4so151751nfc
        for <gentoo-user@lists.gentoo.org>; Fri, 03 Nov 2006 05:22:45 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=CEaKMVZ64WlVH9cub2bWN+P4krQVfqc0ddWbxG+Fjq87cdvFcU9/Bt5g1toHIop6yAJNmj1iz+9eLqUNo+yNUfH5tXi5LAZWHEKF10wZ2BppjyHk8wxVNX6r/FJN110Z/SI5TjYeTg/tnCpBwowRLuLvYblR6IeiYJsJkDYWJuE=
Received: by 10.82.190.2 with SMTP id n2mr704674buf.1162560164938;
        Fri, 03 Nov 2006 05:22:44 -0800 (PST)
Received: by 10.82.176.12 with HTTP; Fri, 3 Nov 2006 05:22:44 -0800 (PST)
Message-ID: <b3a9d00b0611030522p3007e5d3ue5ca2805a182eddd@mail.gmail.com>
Date: Fri, 3 Nov 2006 21:22:44 +0800
From: "F.J.Zhao" <fuziok@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: source /etc/profile valid for all current and future sessions
In-Reply-To: <da5cd1900611030418o48f5b8d0x2a922317620683a1@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <da5cd1900611030418o48f5b8d0x2a922317620683a1@mail.gmail.com>
X-Archives-Salt: 0c4743db-1bbe-48ab-a8b2-820a5e361aed
X-Archives-Hash: b0fe8d60d9cfb0fad563147ca35b0180

Logout and login, you will find the changes have become "standard".
That's because login bash shell will read /etc/profile first.

2006/11/3, Marco Calviani <marco.calviani@gmail.com>:
> Hi list,
>    i have a question regarding the use of global environmental
> variables: as root i've changed some variables inside /etc/env.d. I've
> updated the database with env-update and sourced them with source
> /etc/profile. For this changes to become available to all users i have
> to issue a source /etc/profile for every users AND also for future
> sessions. The changes become "standard" only if i reboot the machine.
> How is it possible to perform this changes for every users without
> rebooting?
>
> Thanks in advance,
> MC
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list