From owner-freebsd-questions Tue Jul 1 14:45:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA23796 for questions-outgoing; Tue, 1 Jul 1997 14:45:57 -0700 (PDT) Received: from lefeu.ml.org (ppp-199-176.villette.club-internet.fr [194.117.199.176]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA23777 for ; Tue, 1 Jul 1997 14:45:47 -0700 (PDT) Received: from lefeu.ml.org (localhost [127.0.0.1]) by lefeu.ml.org (8.8.6/8.8.5) with SMTP id XAA02830; Tue, 1 Jul 1997 23:44:08 +0200 (CEST) Message-ID: <33B97A26.41C67EA6@ariscom.com> Date: Tue, 01 Jul 1997 21:44:06 +0000 From: Fabrice Aneche Organization: Ariscom X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: Sudheer Tumuluru CC: freebsd-questions@FreeBSD.ORG Subject: Re: Strange error message login_getclass: unknown class 'root' End References: <33B96751.622E@cise.ufl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sudheer Tumuluru wrote: > > Hi, > I have recently installed FreeBSD-2.2.2-RELEASE on my PC. I keep > getting this strange error message on the xconsole periodically: > > "Jul 1 12:17:18 inetd[12865]: login_getclass: unknown class > 'root'." > > Is there any way to rectify this problem? Are there any files which I > should modify? > ftp://ftp.freebsd.org/pub/FreeBSD/2.2.2-RELEASE/ERRATA.TXT jkh@time-> more ERRATA.TXT 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, mount the 2nd CDROM and copy it from the live filesystem (cp /cdrom/usr/src/etc/login.conf /etc) instead. o sysconfig scrambles rc.conf if run again. Fix: Get updated /usr/src from RELENG_2_2 branch and build /usr/src/release/sysinstall, copying the new binary to /stand. If you do not have enough space for src then you could also use the boot/fixit floppy combo from a later 2.2-YYMMDD-RELENG release to simply mount your root partition (using the Fixit option) and copy /stand/sysinstall from the floppy to /stand on your root fs. It will end your problems. Fabrice