Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 15:40:00 -0800
From:      Vincent Poy <vincepoy@gmail.com>
To:        gary.jennejohn@freenet.de
Cc:        Ed Schouten <ed@80386.nl>, freebsd-current@freebsd.org
Subject:   Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>.
Message-ID:  <429af92e1002031540u46a370c0gf633b2cf19e17bf7@mail.gmail.com>
In-Reply-To: <20100202175505.5d0d5d3e@ernst.jennejohn.org>
References:  <429af92e1002011500q59b9ae09g908154ae63881ff5@mail.gmail.com> <20100201233216.GL77705@hoeg.nl> <20100202175505.5d0d5d3e@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 2, 2010 at 8:55 AM, Gary Jennejohn <gary.jennejohn@freenet.de>wrote:

> On Tue, 2 Feb 2010 00:32:16 +0100
> Ed Schouten <ed@80386.nl> wrote:
>
> > * Vincent Poy <vincepoy@gmail.com> 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:
> > > <snip>
> >
> > 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



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