Date: Mon, 9 Mar 1998 07:58:23 -0800 (PST) From: patl@phoenix.volant.org To: Studded@dal.net Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: conf/5949: /etc/login.conf has extraneous trailing \'s Message-ID: <ML-3.3.889459103.3870.patl@asimov> In-Reply-To: <199803081957.LAA02222@dt050ndd.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.3.889459103.3870.patl>