Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 09:50:15 -0400
From:      "Mike Jakubik" <mikej@trigger.net>
To:        <current@freebsd.org>
Cc:        Stable <stable@FreeBSD.ORG>
Subject:   RE: who am i
Message-ID:  <JCEIKJMCANNPGKFKGLKLCELJDBAA.mikej@trigger.net>
In-Reply-To: <20030703230140.GB828@atlantis.rodal.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JCEIKJMCANNPGKFKGLKLCELJDBAA.mikej>