From owner-freebsd-security Fri Sep 11 23:42:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04048 for freebsd-security-outgoing; Fri, 11 Sep 1998 23:42:33 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from aniwa.sky (pppk-16.igrin.co.nz [202.49.245.95]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04000 for ; Fri, 11 Sep 1998 23:42:20 -0700 (PDT) (envelope-from andrew@squiz.co.nz) Received: from localhost (andrew@localhost) by aniwa.sky (8.8.7/8.8.7) with SMTP id SAA05389; Sat, 12 Sep 1998 18:41:42 +1200 (NZST) (envelope-from andrew@squiz.co.nz) Date: Sat, 12 Sep 1998 18:41:41 +1200 (NZST) From: Andrew McNaughton X-Sender: andrew@aniwa.sky Reply-To: andrew@squiz.co.nz To: Michael Maxwell cc: security@FreeBSD.ORG Subject: Re: cat exploit In-Reply-To: <19980911124430.A15005@drwho.xnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 11 Sep 1998, Michael Maxwell wrote: > On Thu, Sep 10, 1998 at 10:57:59AM -0700, patl@phoenix.volant.org wrote: > > No, I usually 'less', 'more', or even 'emacs' it. For two reasons. > > 1) INSTALL is usually too large to fit in a single terminal window; > > sometimes too large to fit in the default scrollbuffer. 2) It > > might contain characters that would make my terminal window do > > something I'd rather it didn't... > > And another solution that has thus far been forgotten: file(1). I use this > routinely, on systems that have it, before I "cat" or "more" a file... Not reliable. By way of a test I just created a largish text file with some binary data tacked on the end, and file(1) described it as ASCII text. Andrew McNaughton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message