Bug#2069: GNU last doesn't use ut_addr

1996-01-03 Thread Marek Michalkiewicz
[EMAIL PROTECTED]:
 I have reported this to the upstream maintainer. He promised me new acct code
 (last is part of acct) about six months ago, so don't hold your breath.

How about using last from util-linux?  It has the standard BSD copyright,
there are no patent issues that I know of, it knows about ut_addr, and
even comes with a man page :-).

Is the GNU last better?  Why?

Regards,

Marek



Bug#2069: GNU last doesn't use ut_addr

1996-01-03 Thread Miquel van Smoorenburg
You ([EMAIL PROTECTED]) wrote:

   Marek Is the GNU last better?  Why?

 We went through this before when I split last from the acct package to have a
 single last package for the /base/ section. Some people where proposing to
 use the BSD one, others recommended to keep the GNU last, and so we did. Take
 your pick. The discussion should be in the mailing list list archive.

There is a last with the GNU copyright in sysvinit. It isn't compiled
and installed by default, but it is small and fast.

--
  Miquel van| Cistron Internet Services   --Alphen aan den Rijn.
  Smoorenburg,  | mailto:[EMAIL PROTECTED]  http://www.cistron.nl/
[EMAIL PROTECTED] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)



Bug#2069: GNU last doesn't use ut_addr

1996-01-03 Thread Dirk . Eddelbuettel

  Miquel van Smoorenburg writes:
  Miquel  There is a last with the GNU copyright in sysvinit. It isn't
  Miquel compiled and installed by default, but it is small and fast.

That sounds good to me. As your sysvinit package is part of every Debian
installation, we could use this 'last' binary and drop the last package
derived from acct.

Comments, anyone?

--
Dirk Eddelbuttel  http://qed.econ.queensu.ca/~edd



Bug#2069: GNU last doesn't use ut_addr

1996-01-03 Thread Dirk . Eddelbuettel

  Marek Michalkiewicz writes:
  Marek  [EMAIL PROTECTED]:
  Dirk I have reported this to the upstream maintainer. He promised me new
  Dirk acct code (last is part of acct) about six months ago, so don't hold
  Dirk your breath.
  Marek  How about using last from util-linux?  It has the standard BSD
  Marek copyright, there are no patent issues that I know of, it knows about
  Marek ut_addr, and even comes with a man page :-).

The usual answer: if you want something that isn't there, you will have to
package it yourself.

  Marek Is the GNU last better?  Why?

We went through this before when I split last from the acct package to have a
single last package for the /base/ section. Some people where proposing to
use the BSD one, others recommended to keep the GNU last, and so we did. Take
your pick. The discussion should be in the mailing list list archive.

--
Dirk Eddelbuttel  http://qed.econ.queensu.ca/~edd



Bug#2069: GNU last doesn't use ut_addr

1995-12-29 Thread Dirk . Eddelbuettel

I have reported this to the upstream maintainer. He promised me new acct code
(last is part of acct) about six months ago, so don't hold your breath.

--
Dirk Eddelb|ttelhttp://qed.econ.queensu.ca/~edd



Bug#2069: GNU last doesn't use ut_addr

1995-12-27 Thread Marek Michalkiewicz
Package: last
Version: 5-12

The GNU version of last doesn't make use of the ut_addr utmp field which
is supposed to contain the IP address for remote logins.  The size of
ut_host (16 chars) is too small and host names are often truncated.  The
IP address is the only reliable way to identify the remote host.

The BSD-derived last from the current util-linux supports ut_addr.
The remote address is stored in network byte order.  It is currently
not reliable either (login does a hostname lookup on the name passed
after the -h flag) but I have a working patch for telnetd/rlogind to
create an utmp entry for login (ut_addr filled in with the real remote
IP address from getpeername, avoiding one hostname lookup).  I will
make this patch available soon, after some testing.

BTW, it is probably too late to change struct utmp (more room for host
namei, tty) - do we need the SVR4 utmpx thing?

Marek