Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 1998 11:34:55 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Studded <Studded@san.rr.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Possible glitch in /etc/login.conf?
Message-ID:  <Pine.BSF.3.96.980306113334.26185K-100000@gdi.uoregon.edu>
In-Reply-To: <34FFD071.DBF8DAE9@san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980306113334.26185K-100000>