From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id CAA13058 for ; Sat, 1 Jul 1995 02:55:05 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA09520 (5.65c/Gatech-10.0-IDA for ); Fri, 30 Jun 1995 12:54:22 -0400 Received: by math (5.x/SMI-SVR4) id AA01924; Fri, 30 Jun 1995 12:51:24 -0400 Resent-Date: Fri, 30 Jun 1995 09:41:28 -0700 Old-Return-Path: From: "Bart Schaefer" Message-Id: <9506300941.ZM2145@zipx1.z-code.com> Date: Fri, 30 Jun 1995 09:41:28 -0700 In-Reply-To: z-code!tamu.edu!pckizer (Philip Kizer) "Re: USERNAME bug zsh-2.6-beta9" (Jun 30, 10:20am) References: <29705.804525647@gonzo.tamu.edu> Reply-To: schaefer@z-code.com X-Mailer: Z-Mail (3.2.1 15feb95) To: becker@Atria.com, zsh-workers@math.gatech.edu, pckizer@tamu.edu Subject: Re: USERNAME bug zsh-2.6-beta9 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-Id: <"uKbkV2.0.-T.Bk2zl"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/130 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jun 30, 10:20am, Philip Kizer wrote: } Subject: Re: USERNAME bug zsh-2.6-beta9 } } becker@phobos.atria.com (Paul H. Becker) wrote: } >One (tiny) problem I have found with zsh-2.6-beta9 (as well as } >zsh-2.6-beta9-hzoli9) is that when I "su" to a new user, $USERNAME stays } >the same as the person I initially logged in as ($LOGNAME). Previous } >version of zsh (zsh-2.6-beta8) correctly change $USERNAME when I "su". Er, sorry, but that's the correct behavior. USERNAME and USER and LOGNAME and HOME and so on should only get changed when you use "su -" (to run the new shell as a login shell). Otherwise the environment is supposed to remain that of the original user. -- Bart Schaefer Vice President, Engineering schaefer@z-code.com Z-Code Software Corporation What quantity of engineers is required to rotationally reconfigure an electronically-actuated filament-enabled photon-wave generator?