From owner-cvs-all Thu Mar 16 21:56:23 2000 Delivered-To: cvs-all@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id AF74B37B886; Thu, 16 Mar 2000 21:56:19 -0800 (PST) (envelope-from Doug@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA21655; Thu, 16 Mar 2000 21:56:10 -0800 (PST) (envelope-from Doug@gorean.org) Message-ID: <38D1C8F9.733FFC0A@gorean.org> Date: Thu, 16 Mar 2000 21:56:09 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0315 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: "Brian S. Dean" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/net rcmd.c References: <200003162258.OAA96794@freefall.freebsd.org> <200003162310.QAA98107@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <200003162258.OAA96794@freefall.freebsd.org> "Brian S. Dean" writes: > : bsd 2000/03/16 14:58:35 PST > : > : Modified files: > : lib/libc/net rcmd.c > : Log: > : Slight adjustment to __ivaliduser() - don't ignore the last line in > : the .rhosts file just because there is no ending linefeed. > > I think that we should ignore the last line w/o a \n. This will make > it harder to splat text into the .rhosts file from some "egg" or other > security things. If we're going to do that, can we add a line to the end of the skel files that describes this, and points the user to the appropriately worded man page entry. Users not familiar with unix would never know to expect this behavior, and most unix utilities are moving away from depending on it. Not to mention that the current .rhosts skel file doesn't have a newline at the end. (Not that this is necessarily a bad thing, it just needs to be documented.) Doug -- "While the future's there for anyone to change, still you know it seems, it would be easier sometimes to change the past" - Jackson Browne, "Fountain of Sorrow" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message