From owner-freebsd-bugs Mon Mar 9 08:00:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03366 for freebsd-bugs-outgoing; Mon, 9 Mar 1998 08:00:23 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from phoenix.volant.org (phoenix.volant.org [205.179.79.193]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA03350 for ; Mon, 9 Mar 1998 08:00:14 -0800 (PST) (envelope-from patl@phoenix.volant.org) From: patl@phoenix.volant.org Received: from asimov.phoenix.volant.org [205.179.79.65] by phoenix.volant.org with smtp (Exim 1.62 #1) id 0yC4yM-0005yB-00; Mon, 9 Mar 1998 08:00:14 -0800 Received: from localhost by asimov.phoenix.volant.org (SMI-8.6/SMI-SVR4) id HAA17188; Mon, 9 Mar 1998 07:58:23 -0800 Date: Mon, 9 Mar 1998 07:58:23 -0800 (PST) Reply-To: patl@phoenix.volant.org Subject: Re: conf/5949: /etc/login.conf has extraneous trailing \'s To: Studded@dal.net cc: freebsd-bugs@FreeBSD.ORG In-Reply-To: <199803081957.LAA02222@dt050ndd.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Number: 5949 > >Category: conf > >Synopsis: /etc/login.conf has extraneous trailing \'s > ... > >Description: > > In /usr/src/etc/login.conf there are what appear to be extraneous > trailing slashes at the ends of the root definitions for auth and > resources. I asked about this on -Stable and the only answer I got was, > "Yes, that looks wrong" so here 'tis. > > ... > > >How-To-Repeat: > > more /usr/src/etc/login.conf > > >Fix: > > Apply the following patch to /usr/src/etc/login.conf: > > --- login.conf.Dist Sun Mar 8 11:47:45 1998 > +++ login.conf Sun Mar 8 11:49:51 1998 > @@ -20,7 +20,7 @@ > > auth-root-defaults:\ > :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ > - :auth-rlogin=krb_or_skey,kerberos,skey:\ > + :auth-rlogin=krb_or_skey,kerberos,skey: > > auth-ftp-defaults:\ > :auth=skey_or_pwd,passwd,skey: > @@ -121,7 +121,7 @@ > :priority=0:\ > :requirehome@:\ > :umask=022:\ > - :tc=auth-root-defaults:\ > + :tc=auth-root-defaults: > Is this possibly just a stylistic issue? Having the following blank line as part of the concatenation sequence means that values can be added or removed without the need to also modify the adjacent line. This might be particularly helpful if the file is ever to be modified by an admin script. I often see this done in makefiles when setting a macro to a long list of values. (E.g., a list of source files.) -Pat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message