From owner-freebsd-hackers Sat Jul 3 12: 8:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from guepardo.vicosa.com.br (guepardo.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 0EA5C150D9 for ; Sat, 3 Jul 1999 12:07:47 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.114] by guepardo.vicosa.com.br with ESMTP (SMTPD32-5.00) id A2BD85033C; Sat, 03 Jul 1999 16:21:33 -0300 Message-ID: <377E34F9.CA198CA5@tdnet.com.br> Date: Sat, 03 Jul 1999 16:06:17 +0000 From: Gustavo V G C Rios X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Login.conf (Whose problem is this) ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. # #auth-defaults:\ # :auth=krb_skey_or_passwd,passwd,kerberos,skey: # #auth-root-defaults:\ # :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ # :auth-rlogin=krb_or_skey,kerberos,skey: # #auth-ftp-defaults:\ # :auth=skey_or_pwd,passwd,skey: # # Ok, so i need LOGIN_CAP_AUTH in libutil, i went to /usr/src/lib/libutil and changed, Makefile: From: # @(#)Makefile 8.1 (Berkeley) 6/4/93 LIB= util SHLIB_MAJOR= 2 SHLIB_MINOR= 2 CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys #CFLAGS+=LOGIN_CAP_AUTH To: # @(#)Makefile 8.1 (Berkeley) 6/4/93 LIB= util SHLIB_MAJOR= 2 SHLIB_MINOR= 2 CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys CFLAGS+=LOGIN_CAP_AUTH Here came the problem: myname# make cc -O -pipe -Wall -DLIBC_SCCS -I/usr/src/lib/libutil -I/usr/src/lib/libutil/../../sys LOGIN_CAP_AUTH -c /usr/src/lib/libutil/login.c -o login.o cc: LOGIN_CAP_AUTH: No such file or directory *** Error code 1 Stop. That's happened cause i turn on LOGIN_CAP_AUTH! My doubt is: Shouldn't it be -DLOGIN_CAP_AUTH? Is it right ? Can i use: # @(#)Makefile 8.1 (Berkeley) 6/4/93 LIB= util SHLIB_MAJOR= 2 SHLIB_MINOR= 2 CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys CFLAGS+=-DLOGIN_CAP_AUTH Is that a FreeBSD error or my one? -- What about something different this year: Crash your FreeBSD box! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message