From owner-freebsd-questions Fri Mar 6 11:35:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08884 for freebsd-questions-outgoing; Fri, 6 Mar 1998 11:35:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08831 for ; Fri, 6 Mar 1998 11:35:01 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA26261; Fri, 6 Mar 1998 11:34:55 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 6 Mar 1998 11:34:55 -0800 (PST) From: Doug White Reply-To: Doug White To: Studded cc: FreeBSD Questions Subject: Re: Possible glitch in /etc/login.conf? In-Reply-To: <34FFD071.DBF8DAE9@san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 6 Mar 1998, Studded wrote: > I was debugging some problems in an /etc/login.conf file and noticed an > oddity that seems like a mistake, but before I submitted a PR I thought > I'd ask. In the entries for root (both auth and capapbilities) there is > a :\ at the end of the record where it seems like only a : is expected. > Here are the relevant entries: > > auth-root-defaults:\ > :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ > :auth-rlogin=krb_or_skey,kerberos,skey:\ ^ Ths one is wrong; it would casue root's entry to be sucked under auth-root-defaults. > > root:\ > lots of stuff > :tc=auth-root-defaults:\ > Everything works as expected with these trailing \'s removed, although > I'd not noticed a problem with them in place. If there is some reason > that these are needed, perhaps a comment in the file would be in order > to help people like me? :) There should be continuations (the \ escape the return) for each line except the last. That is the standard capability database format. > On a related note, the :priority key word doesn't seem to take negative > values. I didn't play with it much though. Nobody said they were all implemented :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message