Subject: Bug#3537: TERM environent variable bad for VC logins

From: Lee Olds <[email-masked]>
Date: Fri, 5 Jul 1996 22:16:31 -0700 (PDT)

Package: login
Version: 1.0-5 (From debian 1.1)

When I login through a virtual console, my TERM environment variable is
set to "dumb" instead of "linux", and there is an environment variable
"uERM" that is set to "linux".

TERM should be set to "linux", and there should be no "uERM" environment
variable.  I hunted around in /bin, /sbin, /etc and /etc/init.d for files
containing the "TERM" string.  I'm not sure that login is the program
that is responsible for this problem, but it's the most likely suspect
I could find...)

I saw another messed up environment variable in a user account logged
in through XDM.  The USER environment variable was not set, and fSER
(or something like that) was set instead.

I'm using Debian 1.1, with July 2 Debian-1.1-updates.

- Lee

---

From: Michael Meskes <[email-masked]>
Date: Sun, 7 Jul 1996 14:08:38 +0200 (MET DST)

> "uERM" that is set to "linux".

Are you sure this is due to login? An older version of lshell had a similar
problem.

Michael

-- 
Michael Meskes                   |    _____ ________ __  ____
[email-masked] |   / ___// ____/ // / / __ \___  __________
[email-masked]                  |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
[email-masked]                |  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!		 | /____/_/      /_/  /____/\___/_/  /____/

---

From: [email-masked] (Heiko Schlittermann)
Date: Mon, 8 Jul 1996 08:28:04 +0200 (MET DST)

Lee Olds wrote:
: 
: Package: login
: Version: 1.0-5 (From debian 1.1)
: 
: When I login through a virtual console, my TERM environment variable is
: set to "dumb" instead of "linux", and there is an environment variable
: "uERM" that is set to "linux".

Seems you've installed lshell too. Older lshell versions had a bug in
changing the environment (already reported to the maintainer Michael
Meskes <[email-masked]> and as I know already fixed.

Try lshell > 2.01-1 (-2 is out there, I believe)

: I saw another messed up environment variable in a user account logged
: in through XDM.  The USER environment variable was not set, and fSER
: (or something like that) was set instead.

Perhaps related to the same problem.

heiko
--
email : [email-masked] [email-masked] [email-masked]
pgp   : A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 
finger: [email-masked]         [email-masked]