* Re: [gentoo-user] source /etc/profile valid for all current and future sessions
@ 2006-11-03 13:08 99% ` Alan McKinnon
0 siblings, 0 replies; 1+ results
From: Alan McKinnon @ 2006-11-03 13:08 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-11-03 12:18 [gentoo-user] source /etc/profile valid for all current and future sessions Marco Calviani
2006-11-03 13:08 99% ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox