Ghosted logins in w/who
fabian at wenks.ch
Tue Apr 9 14:42:30 UTC 2013
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:
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?
More information about the freebsd-stable