From owner-freebsd-hackers Sat Jul 3 18:57:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 8566D14D0C for ; Sat, 3 Jul 1999 18:57:17 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id SAA25099; Sat, 3 Jul 1999 18:57:07 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id SAA06552; Sat, 3 Jul 1999 18:57:06 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Sat, 3 Jul 1999 18:57:06 -0700 (PDT) Message-Id: <199907040157.SAA06552@vashon.polstra.com> To: kernel@tdnet.com.br Subject: Re: Login.conf (Whose problem is this) ? In-Reply-To: <377E34F9.CA198CA5@tdnet.com.br> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <377E34F9.CA198CA5@tdnet.com.br>, Gustavo V G C Rios wrote: > i am trying to get a login classes for my users, so i decided to edit > /etc/login.conf. > > Among other, i have yma classes this way: > > > shell:\ > :maxproc=5:\ > :tc=auth-default: > > > Looking for auth-default, i saw the following: > > ## Authentication methods > ## Note that these are disabled by default, and libutil must > ## be rebuilt with LOGIN_CAP_AUTH defined to use them. This stuff is old and obsolete. LOGIN_CAP_AUTH isn't supported any more. (It never was fully supported, actually.) Don't use it. > That's happened cause i turn on LOGIN_CAP_AUTH! > My doubt is: Shouldn't it be -DLOGIN_CAP_AUTH? Yes, of course. That's what "with LOGIN_CAP_AUTH defined" means. But it's broken, so don't bother. If you want login classes all you need to do is "vipw" and insert the correct class in the class field. (See passwd(5) for details.) If you want to create a new class, just edit it into your login.conf file and then run cap_mkdb as instructed in the comment at the top of that file. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message