public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan@linuxholdings.co.za>
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	[thread overview]
Message-ID: <200611031508.36261.alan@linuxholdings.co.za> (raw)
In-Reply-To: <da5cd1900611030418o48f5b8d0x2a922317620683a1@mail.gmail.com>

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



  reply	other threads:[~2006-11-03 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-03 12:18 [gentoo-user] source /etc/profile valid for all current and future sessions Marco Calviani
2006-11-03 13:08 ` Alan McKinnon [this message]
2006-11-03 13:41   ` Marco Calviani
2006-11-03 13:22 ` [gentoo-user] " F.J.Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611031508.36261.alan@linuxholdings.co.za \
    --to=alan@linuxholdings.co.za \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox