Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 1997 19:51:53 -0700
From:      Steve Caine <shc@cfg.com>
To:        Brett Glass <brett@lariat.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: "unknown class" errors
Message-ID:  <3.0.1.16.19970518195153.3c2f25d4@mail.cfg.com>
In-Reply-To: <3.0.1.32.19970518181328.00717990@lariat.org>

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




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