'last' displays wrong info for logins via mgetty

Gert Doering (gert@greenie.muc.de)
Mon, 6 Nov 1995 08:35:59 +0100


Hi,

are you using SysV-Init or Simple Init? If it's simple init, this is
normal ('cause SimpleInit handles the utmp/wtmp file slightly differently
and the "last" tool is also somewhat broken), and you have to define
-DNO_SYSVINIT in the Makefile.

gert


Jan Richert wrote:
> 
> mgetty 0.97
> Linux 1.2.11
> 
> Problem: While a modem user (via mgetty) is logged in, "last" displays
>          this user the way it should (one entry, "still logged in").
>          After the user has logged out a second entry is shown by "last"
>          which may look like this:
> 
> jrichert  ttyS2        14400/ARQ/V42b   Fri Nov  3 21:11 - 21:13  (00:01)
> jrichert  ttyS2        14400/ARQ/V42b   Fri Nov  3 21:11 - 21:11  (00:00)
> 
> Remember: jrichert was logged in only once!
> 
> This happens only for users which came into the system via mgetty.
> 
> Any hints?
> 
> -- 
>   Jan Richert, Muenster, FRG  | Internet:   jrichert@krefcom.westfalen.de
> ------------------------------+ T Online:   0250125425-0001
> Voice:    +49 2501 25425      | IBM VNET:   I1292141 AT IBMMAIL
> Fax:      +49 2501 25423      | IRC-Nick:   jrichert
> Data:     +49 2501 25252      | GSM:        +49 172 9204915
> 


-- 
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3545980 <---new!!!              gert.doering@physik.tu-muenchen.de