From owner-freebsd-questions Mon Jun 9 04:51:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18773 for questions-outgoing; Mon, 9 Jun 1997 04:51:13 -0700 (PDT) Received: from snitterly.nanoteq.co.za (snitterly.nanoteq.co.za [163.195.221.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA18764 for ; Mon, 9 Jun 1997 04:51:06 -0700 (PDT) Received: from pc-pvl (pc-pvl.nanoteq.co.za [163.195.219.103]) by snitterly.nanoteq.co.za (8.8.3/8.8.3) with SMTP id NAA23810; Mon, 9 Jun 1997 13:53:39 GMT Message-ID: <339C6C5D.338E@nanoteq.com> Date: Mon, 09 Jun 1997 13:49:33 -0700 From: "P. van Leeuwen" Reply-To: pvl@nanoteq.com Organization: Nanoteq (Pty) Ltd X-Mailer: Mozilla 3.0Gold (WinNT; I) MIME-Version: 1.0 To: Sinuralan CC: freebsd-questions@FreeBSD.ORG Subject: Re: no root login? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sinuralan wrote: > > I just installed FreeBSD from scratch, and I'm having a problem logging in > as root. When I try, I see in the logs (which are shown on console) > "login_getclass: unknown class 'root'". I have been able to create another > account by booting into single user mode, but I can never get into root > from multiuser mode (same error if I make a new account with uid and gid > 0). > > If anyone could help me fix this up so I can login as root, I'd appreciate > it. BTW, please cc a copy of any replies to me, so I can get responses > quickly. Thanks in advance. > This has been discussed to death on this list. It helps to check the archives. :) You need the file /etc/login.conf. You can find it in /usr/src/etc. It is a very useful file for setting up user resources, so play with it for a bit. pierre