From owner-freebsd-stable@FreeBSD.ORG Fri Jul 4 10:05:27 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4501637B401 for ; Fri, 4 Jul 2003 10:05:27 -0700 (PDT) Received: from tonij.jolt.nu (as4-6-3.lk.bonet.se [217.215.176.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96ED44401A for ; Fri, 4 Jul 2003 10:05:23 -0700 (PDT) (envelope-from c4@jolt.nu) Received: from na.jolt.nu (na.nat.jolt.nu [10.0.0.2] (may be forged)) by tonij.jolt.nu (8.12.3/8.12.3) with ESMTP id h64H5LR9035483 for ; Fri, 4 Jul 2003 19:05:21 +0200 (CEST) (envelope-from c4@jolt.nu) Message-Id: <5.1.0.14.2.20030704190414.00c0a820@jolt.nu> X-Sender: c4@jolt.nu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 04 Jul 2003 19:05:23 +0200 To: stable@freebsd.org From: c4 In-Reply-To: References: <20030703230140.GB828@atlantis.rodal.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: who am i X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 17:05:27 -0000 Well that's weird cause (c4@tonij:~) who am i c4 ttyp0 Jul 4 19:03 (10.0.0.2) (c4@tonij:~) su - Password: su-2.05a# who am i c4 ttyp0 Jul 4 19:03 (10.0.0.2) su-2.05a# logout (c4@tonij:~) who am i c4 ttyp0 Jul 4 19:03 (10.0.0.2) (c4@tonij:~) uname -a FreeBSD tonij.jolt.nu 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Wed Oct 2 20:54:06 CEST 2002 At 15:50 2003-07-04, you wrote: >I don't think this is a problem with su. The same occurs when running login >in a shell, then logging out. I've seen this bug in FreeBSD since early 4.x, >I guess I just never bothered to mention it, thinking someone would notice >and fix it. It has certainly scared me a few times, it would be nice if it >was corrected. > >Thanks. > >-----Original Message----- >From: owner-freebsd-current@freebsd.org >[mailto:owner-freebsd-current@freebsd.org]On Behalf Of Morten Rodal >Sent: Thursday, July 03, 2003 7:02 PM >To: Richard Arends >Cc: current@freebsd.org >Subject: Re: who am i > > >On Fri, Jul 04, 2003 at 12:46:10AM +0200, Richard Arends wrote: > > Hello, > > > > Please take a look at this: > > > > ================================================================= > > [snowlap] ~$ who am i > > richard ttyp5 Jul 4 00:34 (:0.0) > > [snowlap] ~$ su - > > Password: > > Last login: Fri Jul 4 00:31:17 on ttyp5 > > snowlap# who am i > > root ttyp5 Jul 4 00:34 > > snowlap# exit > > logout > > [snowlap] ~$ who am i > > root ttyp5 Jul 4 00:34 > > ================================================================= > > > > Of course the latest 'who am i' should return 'richard' and not(!) 'root' > > > > Regards, > > > > Richard. > > > >I am seeing the same things, and I reported similar stuff in another >mail to this list. Someone suggested that this was a utmp(5) problem >and might be a problem with the su(1) program. > >-- >Morten Rodal > > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"