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

Re: X too big; login double; fetchmail kaputt



On Fri, Jan 11, 2002 at 01:35:24AM +0100, martin f krafft wrote:
> it's not in .zshrc/.bashrc on my systems, and i don't have the problem.
> sure, you can stop here, but these things aren't in /etc/skel and thus
> it can't be the right way to fix it.
> 
> out of curiosity (if you even want to pursue this further, ms.
> going-to-be-a-responsible debian developer), have you tried
> 
> dpkg-reconfigure locales
> 
> ?
> 
> > i wonder now why /etc/environment, even after it was modified to
> > contain all those variable seetings, hadn't been overriding this, or
> > at least obviating it ...
> 
> good point. after all: [1]
> 
>   1. http://www.unet.univie.ac.at/aix/files/aixfiles/environment.htm

Right!  I always look to IBM AIX documentation to find out about my
unix system ;-)

Seriously, though, I'd never heard of the /etc/environment file
so I looked it up with

    find /etc -type f -exec grep "/etc/environment" {} \; -print

and the only file returned was /etc/pam.d/login

So /etc/environment would appear to be a pam artifact.

I wonder what that means.... Specifically, I wonder if pam
stuff is run when you su from one account to another?
I tried adding a line in /etc/environment and logged in
to my own account (from root, with login) and a message
got printed to console:

Jan 10 18:54:47 seal PAM_unix[15016]: (login) session opened for user bjb by bjb(uid=0)

which suggests that the pam stuff ran, but the new env variable isn't
there.

Also, the shells in my xterms do not even have the env variable that
previously existed in the /etc/environment file (LANG=C), although
in the shell that came up with the above experiment the LANG variable
was there.

Weird...

Does this all mean that I have to log out all my windows, get back to
the xdm prompt in order to log back in and get the effect of the
/etc/environment file?

I'll never understand this plethora of startup files...  Even
as I start to understand some of the maze, more parts are
being hatched for the next version (or the next "layer":
pam, X windows, etc, etc, etc).

-- 
bjb@achilles.net
Welcome to the GNU age!   http://www.gnu.org



Reply to: