From owner-freebsd-questions Fri Nov 28 08:02:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA21570 for questions-outgoing; Fri, 28 Nov 1997 08:02:39 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from BIGFUN.vwcom.com (BIGFUN.vwcom.com [151.197.101.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA21538 for ; Fri, 28 Nov 1997 08:02:34 -0800 (PST) (envelope-from bmc@WillsCreek.COM) Received: from WillsCreek.COM (gw.willscreek.com [151.197.101.46]) by BIGFUN.vwcom.com (8.8.6/8.8.6) with ESMTP id KAA23534 for ; Fri, 28 Nov 1997 10:57:41 -0500 (EST) Received: from current.willscreek.com (current.willscreek.com [172.16.87.1]) by WillsCreek.COM (8.8.5/8.8.5) with ESMTP id LAA02626 for ; Fri, 28 Nov 1997 11:02:30 -0500 (EST) Received: (from bmc@localhost) by current.willscreek.com (8.8.5/8.8.5) id LAA11951; Fri, 28 Nov 1997 11:02:29 -0500 (EST) Date: Fri, 28 Nov 1997 11:02:29 -0500 (EST) Message-Id: <199711281602.LAA11951@current.willscreek.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: questions@freebsd.org Subject: Re: Console messages In-Reply-To: <86811503@toto.iv> X-Mailer: VM 6.23 under Emacs 19.34.1 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bill Sandiford wrote: > The following message comes up every time someone makes an inetd type > connection to my box (ftp, telnet, popper, etc.) and I don't know why, or > how to stop it. Help would be appreciated. > > Nov 28 10:53:25 duey inetd[20538]: login_getclass: unknown class 'root' > > This is fairly annoying as it makes the console unusable. How do I fix > this? It's always a good idea to check the mailing list archives and/or the FreeBSD web pages before posting a question to the list; they're located at `http://WWW.FreeBSD.ORG/search.html'. By entering `login.conf' in the mailing-list search box, ensuring that the `questions' button was selected, and pressing the `Submit Query' button, you'd have found countless answers to your question, since this particular question has been posted countless times since 2.2.2-RELEASE came out. Searching the FreeBSD web pages would've done the trick, too, pointing you to `http://www.freebsd.org/releases/2.2.2R/errata.html'. That errata document contains the solution to your problem. Here's a direct quote: Last minute errata: ------------------- o login as root produces "login_getclass: unknown class 'root'" on system console. Fix: If you have the source distribution installed, simply cp /usr/src/etc/login.conf /etc otherwise, get it from the FreeBSD FTP site using this URL: ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/etc/login.conf instead. Simply cd to /etc and then run fetch(1) with the provided URL. ----- Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/ Do not underestimate the value of print statements for debugging. Don't have aesthetic convulsions when using them, either.