From owner-freebsd-hackers Sun Sep 14 13:15:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA27984 for hackers-outgoing; Sun, 14 Sep 1997 13:15:47 -0700 (PDT) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA27979 for ; Sun, 14 Sep 1997 13:15:45 -0700 (PDT) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.7/8.6.9) with ESMTP id NAA10400 for ; Sun, 14 Sep 1997 13:15:45 -0700 (PDT) To: hackers@freebsd.org Subject: Here's an interesting bug in our utmp handling. Date: Sun, 14 Sep 1997 13:15:45 -0700 Message-ID: <10396.874268145@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Reported today by one Eddie Wieder.. Log in somehow (real login, xterm -ls, whatever) and verify your user/[pt]ty combo by doing who(1) and tty(1) commands. Now use login(1) to log in as some other user and do the who/tty thing again. You'll have a new utmp entry for the user you just logged in as. Now log out and do another who(1). You'll have had your utmp entry smashed and still show up as the user you logged in and out again as. Not sure how to fix this one - it's "interesting." :) Jordan