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

Re: Bug#133578: gdm bug #133578. Intend to NMU.

On Wed, Apr 21, 2004 at 12:31:28PM +0200, Andreas Metzler wrote:
> Calum Mackay <calum.mackay@cdmnet.org> wrote:
> > If /etc/environment is to be limited to PAM, shouldn't that be made 
> > clear in its name, or its comments?

> > Mine contains:

> >        GDK_USE_XFT=1
> >        LANG=en_GB

> > neither of which seem particular PAM-related.
> [...]

> Neither of which need to be.

> /etc/environment is not some configuration file for mysthical PAM
> internals but a place to set *arbitrary* environment variables for
> all sessions using pam_env, including ssh, login, xdm, ...

And this is precisely why it shouldn't be used for pushing values into
the environment of gdm -- its purpose (as documented and implemented
by the system) is to set environment variables for *user sessions* once
the user has authenticated, not to set env vars for arbitrary processes
that are not related to user sessions (such as the gdm greeter).

Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply to: