From owner-freebsd-questions Thu Jul 31 09:31:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA18568 for questions-outgoing; Thu, 31 Jul 1997 09:31:10 -0700 (PDT) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA18558 for ; Thu, 31 Jul 1997 09:31:06 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.5) id LAA15578; Thu, 31 Jul 1997 11:21:24 -0500 (CDT) From: "Paul T. Root" Message-Id: <199707311621.LAA15578@horton.iaces.com> Subject: Re: login_getclass:, login.conf To: bluejay@amp.com (Adametz, Bluejay) Date: Thu, 31 Jul 1997 11:21:24 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199707311355.GAA10220@hub.freebsd.org> from "Adametz, Bluejay" at "Jul 31, 97 09:38:12 am" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In a previous message, Adametz, Bluejay said: > Regarding: > > >I just installed FreeBSD 2.2.2 and I get a strange message > >whenever I log in with root or su to root or TRY to telnet > >in with root. > > > > login: login_getclass: unknown class 'root' > > and > > There is an errata in the WC cdrom which states that a login.conf file > may > not transfer when installing. The fix is to cp from the second disk > /usr/src. I'm unable to find such a file on either disk, or on an > earlier > release. What must the file contain, and in what syntax? I'll try > creating it myself, unless that is prohibitively difficult for a > neophyte. The src tree got too big for the live filesystem. Almost time to go to 3 disks, eek. Anyway, on the second CD in etc you'll find login.conf > I think these are related. I created a simple login.conf file, based on > information in the man pages containing the following: > > default:\ > shell=/bin/csh :\ > minpasswordlen=6 > root:\ > tc=default > > and it took care of the login_getclass errors. > > /s/ a new FreeBSD user > --- > Bluejay Adametz, CFII, A&P bluejay@amp.com > Greenville, SC, USA +1 864 675 7425 > AMP Circuits, an AMP division > --- > Not to laugh, not to lament, not to curse, but to understand. > -- Paul T. Root E/Mail: proot@iaces.com 200 S. 5th St. Suite 1100 PAG: +1 (800) SKY-PAGE PIN: 537-7270 Minneapolis, MN 55402 WRK: +1 (612) 663-1979 NIC: PTR FAX: +1 (612) 663-8030