From owner-freebsd-stable Mon Aug 25 21:28:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA05714 for stable-outgoing; Mon, 25 Aug 1997 21:28:45 -0700 (PDT) Received: from madoka.hal.t.u-tokyo.ac.jp (madoka.hal.t.u-tokyo.ac.jp [133.11.98.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA05707; Mon, 25 Aug 1997 21:28:36 -0700 (PDT) Received: from hitomi.hal.t.u-tokyo.ac.jp (hitomi.hal.t.u-tokyo.ac.jp [133.11.98.148]) by madoka.hal.t.u-tokyo.ac.jp (8.8.7/3.5Wpl2/HALmailhost/97020422) with ESMTP id NAA09892; Tue, 26 Aug 1997 13:28:05 +0900 (JST) Received: from hal.t.u-tokyo.ac.jp by hitomi.hal.t.u-tokyo.ac.jp (8.8.5+2.7Wbeta5/3.2W5/HAL) with ESMTP id NAA14621; Tue, 26 Aug 1997 13:28:03 +0900 (JST) Message-Id: <199708260428.NAA14621@hitomi.hal.t.u-tokyo.ac.jp> To: kory@avatar.com Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: inetd[xxxx]: login_getclass: unknown class 'root' In-Reply-To: Your message of "Mon, 25 Aug 1997 11:33:23 -0700 (PDT)" References: X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3 X-PGP-fingerprint: 5A A1 E6 D0 FF 96 FB F8 DE 23 EF 06 A1 76 94 E9 X-PGP-Public-Key-Location: finger -l pasqual@hal.t.u-tokyo.ac.jp or Home Page X-URL: http://www.hal.t.u-tokyo.ac.jp/~pasqual Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 26 Aug 1997 13:28:03 +0900 From: "" Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk kory> inetd[xxxx]: login_getclass: unknown class 'root' kory> kory> I also see similar messages with I try to "su". I'm running 2.2.2-RELEASE. kory> What is causing this and how can I fix it? This is a file I found at the FreeBSD ftp site. Hope this is helpful for others having the same problem as I've seen this question many times. 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. Regards, Ajith. ------------------------------------------------------------------------------ Ajith Pasqual - Hatori-Aizawa Lab., Dept of Info. & Comm. Eng., Univ. of Tokyo. Email:pasqual@hal.t.u-tokyo.ac.jp (WWW)http://www.hal.t.u-tokyo.ac.jp/~pasqual/ Key fingerprint = 5A A1 E6 D0 FF 96 FB F8 DE 23 EF 06 A1 76 94 E9 -------------------------------------------------------------------------------