From owner-freebsd-stable Fri Aug 29 21:56:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA18697 for stable-outgoing; Fri, 29 Aug 1997 21:56:21 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA18692 for ; Fri, 29 Aug 1997 21:56:13 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id OAA08027; Sat, 30 Aug 1997 14:49:19 +1000 Date: Sat, 30 Aug 1997 14:49:19 +1000 From: Bruce Evans Message-Id: <199708300449.OAA08027@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, jhay@mikom.csir.co.za Subject: Re: large number of logins and utmp Cc: stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > * Did you update your /etc/ttys file? I think that if they are not listed > * in there, they don't show up in utmp. > >My face is red. You are right. > >However, I should mention that I did read the man pages of utmp(5) and >login(1). Maybe we should mention something, where do you think would >be the right place? The bugs section for login(3). login(3) uses ttyslot() to find the record number in utmp, and ttyslot() is based on /etc/ttys. Adding, removing or reordering ttys in /etc/ttys, except by appending, also breaks utmp. Bruce