who am i

Morten Rodal morten at rodal.no
Thu Jul 3 16:02:06 PDT 2003


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030704/7656b109/attachment.bin


More information about the freebsd-current mailing list