Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 1995 07:22:29 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
To:        current@FreeBSD.org
Subject:   login doesn't update utmp for ttyp[g-v]
Message-ID:  <199505041422.HAA00611@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
It seems like something in the system isn't handling the upper half of 
ttyp's right, as when I get past the "traditional" ttypf, the logins
don't get recorded in utmp:

=======
bash$ tty
/dev/ttyph
bash$ w
 4:09AM  up 1 min, 17 users, load averages: 2.08, 0.57, 0.21
USER    TTY FROM              LOGIN@  IDLE WHAT
asami    v0 -                 4:08AM     - rlogin localhost
asami    p0 localhost         4:08AM     - rlogin localhost
asami    p1 localhost         4:08AM     - rlogin localhost
asami    p2 localhost         4:08AM     - rlogin localhost
asami    p3 localhost         4:08AM     - rlogin localhost
asami    p4 localhost         4:08AM     - rlogin localhost
asami    p5 localhost         4:08AM     - rlogin localhost
asami    p6 localhost         4:08AM     - rlogin localhost
asami    p7 localhost         4:08AM     - rlogin localhost
asami    p8 localhost         4:08AM     - rlogin localhost
asami    p9 localhost         4:08AM     - rlogin localhost
asami    pa localhost         4:08AM     - rlogin localhost
asami    pb localhost         4:09AM     - rlogin localhost
asami    pc localhost         4:09AM     - rlogin localhost
asami    pd localhost         4:09AM     - rlogin localhost
asami    pe localhost         4:09AM     - rlogin localhost
asami    pf localhost         4:09AM     - script
bash$
=======

This was on a fresh reboot of yesterday's current.

Also, lastlog is updated on login but not on logout, as in:

=======
asami     ttyph    localhost        Thu May  4 04:09 - shutdown  (03:03)
asami     ttypf    localhost        Thu May  4 04:09 - 04:09  (00:00)
asami     ttype    localhost        Thu May  4 04:09 - 04:09  (00:00)
asami     ttypd    localhost        Thu May  4 04:09 - 04:09  (00:00)
=======

(I sure as hell logged out from ttyph before ttypf. ;)

Also, the wtmp entry is screwed up so I am logged out even when I'm
still logged in:

=======
bash$ tty 
/dev/ttypg
bash$ finger asami
Login: asami                            Name: Satoshi Asami
Directory: /usr/home/alcatraz/asami     Shell: /usr/local/bin/bash
Office: 477 Soda, (510)642-1845         Home Phone: (510)524-2064
On since Thu May  4 07:13 (PDT) on ttyv0, idle 0:05 (messages off)
On since Thu May  4 07:14 (PDT) on ttyp0, idle 0:05, from :0.0
 :
On since Thu May  4 07:14 (PDT) on ttypd, idle 0:04, from :0.0
On since Thu May  4 07:19 (PDT) on ttypf from :0.0
Last login Thu May  4 07:19 (PDT) on ttypg from localhost
 :
=======

Note that the ttypg that I've supposedly logged out is where I'm
fingering from! ;)

Satoshi



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