From owner-freebsd-current@FreeBSD.ORG Wed Feb 3 23:40:01 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB4F11065679 for ; Wed, 3 Feb 2010 23:40:01 +0000 (UTC) (envelope-from vincepoy@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 772468FC08 for ; Wed, 3 Feb 2010 23:40:01 +0000 (UTC) Received: by yxe2 with SMTP id 2so1613363yxe.7 for ; Wed, 03 Feb 2010 15:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xplMmOSP4I6jpgd9c4tP2CnRPmAtiyWsVF9CI6CNq2w=; b=ELu7C0Luqb2SeeSf1ABkSutSuavGIpswNvcrnIqQKRFIStsHhm69a56imNJz0wGQPl K8lfQh2OUCwW8zFkjQHIM8LgGz/tHi+7v7h9PQFMi5NwSr1SJ6H9a2hlFYozHwxS1x0k LhKcoH5Tldz5Av4rewAwH5kCGS7MA5B7jsnX8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=A2Py/MjCVexmQQ7/05D4SjQcmY98GQEo0KJPmKJKv4SciNecPy2ZHB2LApnV1PXjFF FjO4Ri3/FmDlPj98/bI9Bw89XuGCBOrB/tuYUVC/vOnZlcNWJ1sy8o8eJczgOJ8YeOsS UZtB+hOPEFvbGQnKlUH7VBAMJ36y/8mijJaZE= MIME-Version: 1.0 Received: by 10.150.179.20 with SMTP id b20mr869335ybf.181.1265240400495; Wed, 03 Feb 2010 15:40:00 -0800 (PST) In-Reply-To: <20100202175505.5d0d5d3e@ernst.jennejohn.org> References: <429af92e1002011500q59b9ae09g908154ae63881ff5@mail.gmail.com> <20100201233216.GL77705@hoeg.nl> <20100202175505.5d0d5d3e@ernst.jennejohn.org> Date: Wed, 3 Feb 2010 15:40:00 -0800 Message-ID: <429af92e1002031540u46a370c0gf633b2cf19e17bf7@mail.gmail.com> From: Vincent Poy To: gary.jennejohn@freenet.de Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ed Schouten , freebsd-current@freebsd.org Subject: Re: HEADS UP: gone. All welcome . X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 23:40:01 -0000 On Tue, Feb 2, 2010 at 8:55 AM, Gary Jennejohn wrote: > On Tue, 2 Feb 2010 00:32:16 +0100 > Ed Schouten wrote: > > > * Vincent Poy wrote: > > > 3) I noticed that it seems the system in the w, who, finger, last, > > > lastlogin output is not recognizing additional sessions of the same > user on > > > a new tty if they are already logged in such as this example. I am > already > > > logged in as vince on ptys/0 so I login again as vince on ptys/1: > > > > > > > This is very odd. Could you try debugging this a bit more? In order to > > ease debugging, I extended the getent command. You should be able to use > > the following commands: > > > > - getent utmpx active > > Get list of active sessions (`utmp') > > - getent utmpx log > > Get list of log entries (`wtmp') > > - getent utmpx lastlogin > > Get list of last login entries (`lastlog') > > > > When you log in, it should add a "user process" entry to the active > > sessions database, append the same entry to the log and overwrite the > > lastlogin entry for the corresponding user. > > > > An advantage of these commands is that they just perform a raw dump of > > the data on screen, instead of having many forms of unwanted processing > > on top. > > > > What terminal emulator are you using? I'm using mrxvt-devel and I _do_ > see every mrxvt which I have running with w, who, finger and last. > > --- > Gary Jennejohn I'm using telnet/ssh client on unix boxes including the same machine in question, doing a cvsup on February 1, 2010 and rebuilding world fixed the problem. Cheers, Vince Vincent Poy, Ph.D. - Astrophysics