[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting up environment variables

On 9/23/05, Bob Proulx <bob@proulx.com> wrote:


You're misquoting me here. I didn't ask this:

> Nelson Castillo wrote:
> > Is this a run-level distinction then? Is /etc/profile is only involved
> > in setting up run-level 2?
> This has nothing at all to do with run levels.

I was curious about /etc/environment,
thanks a lot for your answer.

> > > I was unaware of the /etc/environment directory. Is this a Debian thing?
> > > A linux thing? An X thing?
> >
> > Seems debian-specific.
> >
> > http://lists.debian.org/debian-user/2005/01/msg04226.html
> It originated with IBM AIX.  But no other systems picked it up that I
> know of before PAM started using it.  Now /etc/environment is loaded
> by PAM authenticated login sessions.  Which means that if the process
> is not PAM related that it does not use /etc/environment.

Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
     -- Richard Feynman.

Reply to: