Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 09:09:52 -0500
From:      damonray@mac.hush.com
To:        "Fabian Wenk" <fabian@wenks.ch>, freebsd-stable@freebsd.org
Subject:   Re: Ghosted logins in w/who
Message-ID:  <20130410140953.31C3D10E2D3@smtp.hushmail.com>
In-Reply-To: <516428D2.9020701@wenks.ch>
References:  <20130409015643.0817D10E2C8@smtp.hushmail.com> <20130409022837.GA95155@icarus.home.lan> <E1UPVSY-0005Hj-Jm@kabab.cs.huji.ac.il> <516428D2.9020701@wenks.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
If I wipe the utmp file all the w/who content goes away, resets if you
will. But in a matter of moments the problem reappears.. is this
something that needs to be submitted as a bug report do you think?
Thanks!
Damon

On 4/9/2013 at 9:42 AM, "Fabian Wenk"  wrote:Hello Daniel

On 09.04.2013 12:07, Daniel Braniss wrote:
> something changed beteen 8 and 9 with respect of handling of utmp,
> I tried to research this but got bogged down with other things.

According to /usr/src/UPDATING:

20100113:
  The utmp user accounting database has been replaced with utmpx,
  the user accounting interface standardized by POSIX.
  Unfortunately the semantics of utmp and utmpx don't match,
  making it practically impossible to support both interfaces.
  The user accounting database is used by tools like finger(1),
  last(1), talk(1), w(1) and ac(8).

  All applications in the base system use utmpx.  This means only
  local binaries (e.g. from the ports tree) may still use these
  utmp database files.  These applications must be rebuilt to make
  use of utmpx.

  After the system has been upgraded, it is safe to remove the old
  log files (/var/run/utmp, /var/log/lastlog and /var/log/wtmp*),
  assuming their contents is of no importance anymore.  Old wtmp
  databases can only be used by last(1) and ac(8) after they have
  been converted to the new format using wtmpcvt(1).
Could this have any impact regarding this issue with telnet login?
bye
Fabian
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
From owner-freebsd-stable@FreeBSD.ORG  Wed Apr 10 14:43:33 2013
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B6D42348
 for <freebsd-stable@freebsd.org>; Wed, 10 Apr 2013 14:43:33 +0000 (UTC)
 (envelope-from ronald-freebsd8@klop.yi.org)
Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl
 [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4986526C
 for <freebsd-stable@freebsd.org>; Wed, 10 Apr 2013 14:43:33 +0000 (UTC)
Received: from smtp.greenhost.nl ([213.108.104.138])
 by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.69) (envelope-from <ronald-freebsd8@klop.yi.org>)
 id 1UPwF5-0007iA-Tr; Wed, 10 Apr 2013 16:43:20 +0200
Received: from [81.21.138.17] (helo=ronaldradial.versatec.local)
 by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.72) (envelope-from <ronald-freebsd8@klop.yi.org>)
 id 1UPwF5-0001Ln-1X; Wed, 10 Apr 2013 16:43:19 +0200
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
To: "Fabian Wenk" <fabian@wenks.ch>, freebsd-stable@freebsd.org,
 damonray@mac.hush.com
Subject: Re: Ghosted logins in w/who
References: <20130409015643.0817D10E2C8@smtp.hushmail.com>
 <20130409022837.GA95155@icarus.home.lan>
 <E1UPVSY-0005Hj-Jm@kabab.cs.huji.ac.il> <516428D2.9020701@wenks.ch>
 <20130410140953.31C3D10E2D3@smtp.hushmail.com>
Date: Wed, 10 Apr 2013 16:43:17 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: "Ronald Klop" <ronald-freebsd8@klop.yi.org>
Message-ID: <op.wvbxufg38527sy@ronaldradial.versatec.local>
In-Reply-To: <20130410140953.31C3D10E2D3@smtp.hushmail.com>
User-Agent: Opera Mail/12.15 (Win32)
X-Virus-Scanned: by clamav at smarthost1.samage.net
X-Spam-Level: /
X-Spam-Score: -0.5
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.1
X-Scan-Signature: 74bd734068bee68206891dc8710ce62a
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Apr 2013 14:43:33 -0000

On Wed, 10 Apr 2013 16:09:52 +0200, <damonray@mac.hush.com> wrote:

> If I wipe the utmp file all the w/who content goes away, resets if you
> will. But in a matter of moments the problem reappears.. is this
> something that needs to be submitted as a bug report do you think?
> Thanks!
> Damon

Did you upgrade correctly? Did you also ran make delete-old and make  
delete-old-libs? And did you rebuild all ports after that?
Some things might use the old stuff still.

Ronald.

>
> On 4/9/2013 at 9:42 AM, "Fabian Wenk"  wrote:Hello Daniel
>
> On 09.04.2013 12:07, Daniel Braniss wrote:
>> something changed beteen 8 and 9 with respect of handling of utmp,
>> I tried to research this but got bogged down with other things.
>
> According to /usr/src/UPDATING:
>
> 20100113:
>   The utmp user accounting database has been replaced with utmpx,
>   the user accounting interface standardized by POSIX.
>   Unfortunately the semantics of utmp and utmpx don't match,
>   making it practically impossible to support both interfaces.
>   The user accounting database is used by tools like finger(1),
>   last(1), talk(1), w(1) and ac(8).
>
>   All applications in the base system use utmpx.  This means only
>   local binaries (e.g. from the ports tree) may still use these
>   utmp database files.  These applications must be rebuilt to make
>   use of utmpx.
>
>   After the system has been upgraded, it is safe to remove the old
>   log files (/var/run/utmp, /var/log/lastlog and /var/log/wtmp*),
>   assuming their contents is of no importance anymore.  Old wtmp
>   databases can only be used by last(1) and ac(8) after they have
>   been converted to the new format using wtmpcvt(1).
> Could this have any impact regarding this issue with telnet login?
> bye
> Fabian
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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