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 ) id 1Gfz0L-00066n-7e for garchives@archives.gentoo.org; Fri, 03 Nov 2006 13:22:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA3DKK4Z008363; Fri, 3 Nov 2006 13:20:20 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA3DI7nn028999 for ; Fri, 3 Nov 2006 13:18:07 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id 136348341A for ; Fri, 3 Nov 2006 15:18:31 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZMgj+dfp-XD for ; Fri, 3 Nov 2006 15:18:23 +0200 (SAST) Received: from bard.sybase.co.za (bard.sybase.co.za [192.168.2.6]) by cranium.sybase.co.za (Postfix) with ESMTP id 73D578342B for ; Fri, 3 Nov 2006 15:17:30 +0200 (SAST) Received: from [192.168.2.130] ([192.168.2.130]) by bard.sybase.co.za with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Nov 2006 15:19:02 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] source /etc/profile valid for all current and future sessions Date: Fri, 3 Nov 2006 15:08:36 +0200 User-Agent: KMail/1.9.5 References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611031508.36261.alan@linuxholdings.co.za> X-OriginalArrivalTime: 03 Nov 2006 13:19:02.0304 (UTC) FILETIME=[A127CA00:01C6FF4A] X-Archives-Salt: 311469bd-1e88-42b9-b023-e69a26ecf98c X-Archives-Hash: a5aafbb54cc1edc7a43e2afb525c72b6 On Friday 03 November 2006 14:18, Marco Calviani wrote: > 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? I think you misunderstand the shell start up sequence, a reboot has nothing to do with this topic at all. If a setting is in /etc/profile then it will be used for every *new* session for every user from here on out. You only have to source /etc/profile in sessions that are already running when you change any of the shell start up files. alan -- gentoo-user@gentoo.org mailing list