From owner-freebsd-questions@FreeBSD.ORG Tue Jul 26 22:35:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7120D16A41F for ; Tue, 26 Jul 2005 22:35:35 +0000 (GMT) (envelope-from mtbeedee@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 676C243D53 for ; Tue, 26 Jul 2005 22:35:34 +0000 (GMT) (envelope-from mtbeedee@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so47781wra for ; Tue, 26 Jul 2005 15:35:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nxHeJxhziIwl+TLCEUl79GvToYQSx1aat0uFa6D8TZzvwWoQ5Hdhc7dcwKl8Edr5Sh5R+TXWy9a92xjEQHrkKHf2AmRJcyhdZQNKZZv25zChd4tt5HJvDZwFAbtzLgw6Md5vA3wc6/U75ApK36FSTlZY0DJCqSaOi9TBwKoNQfc= Received: by 10.54.2.57 with SMTP id 57mr92957wrb; Tue, 26 Jul 2005 15:35:33 -0700 (PDT) Received: by 10.54.159.14 with HTTP; Tue, 26 Jul 2005 15:35:33 -0700 (PDT) Message-ID: Date: Tue, 26 Jul 2005 18:35:33 -0400 From: Michael Beattie To: Matt Juszczak In-Reply-To: <20050726183029.M97284@neptune.atopia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050726183029.M97284@neptune.atopia.net> Cc: freebsd-questions@freebsd.org Subject: Re: cat /dev/urandom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Beattie List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 22:35:35 -0000 On 7/26/05, Matt Juszczak wrote: > Hi all, >=20 > Quick question. >=20 > shell# cat /dev/urandom >=20 > can that executed as root cause any harm to the system? What if a random > sequence of `rm *` was generated... would it be executed? >=20 > I tried that to fix my terminal and forgot it might cause damage as root, > even if its just being cat'd to the screen. I thought I saw some files > fly by which would indicate an execution of `ls`.... >=20 > Just curious.... >=20 If you had a file with an rm * in it and you cat'd it would it execute?