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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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