From owner-freebsd-current Thu May 4 07:44:19 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA11663 for current-outgoing; Thu, 4 May 1995 07:44:19 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA11657 for ; Thu, 4 May 1995 07:44:07 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id HAA00611; Thu, 4 May 1995 07:22:29 -0700 Date: Thu, 4 May 1995 07:22:29 -0700 Message-Id: <199505041422.HAA00611@silvia.HIP.Berkeley.EDU> To: current@FreeBSD.org Subject: login doesn't update utmp for ttyp[g-v] From: asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) Sender: current-owner@FreeBSD.org Precedence: bulk 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