From owner-freebsd-questions Sun May 18 19:53:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27945 for questions-outgoing; Sun, 18 May 1997 19:53:07 -0700 (PDT) Received: from cajon.cfg.com (cajon.cfg.com [192.84.10.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27938 for ; Sun, 18 May 1997 19:53:05 -0700 (PDT) Received: from alray.cfg.com (alray.cfg.com [192.84.10.15]) by cajon.cfg.com (8.7.5/8.7.3) with SMTP id TAA28224; Sun, 18 May 1997 19:51:56 -0700 (PDT) Message-Id: <3.0.1.16.19970518195153.3c2f25d4@mail.cfg.com> X-Sender: shc@mail.cfg.com X-Mailer: Windows Eudora Pro Version 3.0.1 (16) Date: Sun, 18 May 1997 19:51:53 -0700 To: Brett Glass From: Steve Caine Subject: Re: "unknown class" errors Cc: questions@FreeBSD.ORG In-Reply-To: <3.0.1.32.19970518181328.00717990@lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 18:13 97/05/18 -0600, Brett Glass wrote: >Just upgraded a machine to 2.2.2, and am getting persistent errors in the >log (and on the console) saying > >inetd[pid]: login_getclass: unknown class 'root' I just installed a 2.2.2-R on a new machine and encountered the same problem. You may also be getting a message from login that "imported path has relative components" (or some such -- I'm at home & not near the 2.2.2 machine). I was able to fix both problems by creating the file "/etc/login.conf" (I *think* it's that but might be /etc/login.config -- again, not near machine which isn't on the net yet -- look at the login man page for referenced files, then look at the man page for login.conf (5) ). There are a huge number of possible options, but the following two lines fixed things: root:path=/bin /usr/bin default:path=/bin /usr/bin The "default" entry is probably enough. Hope this helps. Steve. -- Steve Caine :: shc@cfg.com :: http://www.cfg.com/ Caine, Farber & Gordon, Inc. :: Pasadena, CA, USA 800 424 3070 :: 818 449 3070 :: +1 818 449 3070