From owner-freebsd-questions Thu Jul 31 06:55:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA10225 for questions-outgoing; Thu, 31 Jul 1997 06:55:23 -0700 (PDT) Received: from crimp.amp.com (crimp.amp.com [198.80.3.102]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA10220 for ; Thu, 31 Jul 1997 06:55:21 -0700 (PDT) Message-Id: <199707311355.GAA10220@hub.freebsd.org> Received: by crimp.amp.com id (InterLock SMTP Gateway 3.0 for freebsd-questions@FreeBSD.ORG); Thu, 31 Jul 1997 09:55:18 -0400 Received: by crimp.amp.com (Internal Mail Agent-1); Thu, 31 Jul 1997 09:55:18 -0400 Received: by crimp.amp.com (Internal Mail Agent-0); Thu, 31 Jul 1997 09:55:18 -0400 From: "Adametz, Bluejay " To: "'freebsd-questions@FreeBSD.ORG'" Subject: RE: login_getclass:, login.conf Date: Thu, 31 Jul 1997 09:38:12 -0400 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 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 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. 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.