Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 1997 14:49:19 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        asami@cs.berkeley.edu, jhay@mikom.csir.co.za
Cc:        stable@FreeBSD.ORG
Subject:   Re: large number of logins and utmp
Message-ID:  <199708300449.OAA08027@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
> * 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



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