From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 23:31:44 2004 Return-Path: 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 F2ADB16A4CE for ; Thu, 25 Nov 2004 23:31:43 +0000 (GMT) Received: from ms-smtp-01-eri0.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.47.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6438443D5C for ; Thu, 25 Nov 2004 23:31:43 +0000 (GMT) (envelope-from afabian@austin.rr.com) Received: from turingmachine.mentalsiege.net (cs70112247-52.austin.rr.com [70.112.247.52])iAPNVQYm018061; Thu, 25 Nov 2004 17:31:31 -0600 (CST) Received: from turingmachine.mentalsiege.net (turingmachine.mentalsiege.net [127.0.0.1])iAPNUcKm007932; Thu, 25 Nov 2004 17:30:53 -0600 (CST) (envelope-from afabian@turingmachine.mentalsiege.net) Received: (from afabian@localhost)iAPNULs8007923; Thu, 25 Nov 2004 17:30:21 -0600 (CST) (envelope-from afabian) Date: Thu, 25 Nov 2004 17:30:01 -0600 From: Adam Fabian To: Don Wilde Message-ID: <20041125233001.GA7891@turingmachine.mentalsiege.net> Mail-Followup-To: Don Wilde , conrads@cox.net, freebsd-questions@freebsd.org References: <41A615CE.6010405@Silver-Lynx.com> <1101405587.63632.10.camel@dolphin.local.net> <41A65FB6.6030805@Silver-Lynx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41A65FB6.6030805@Silver-Lynx.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: conrads@cox.net cc: freebsd-questions@freebsd.org Subject: Re: shell programming challenge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 23:31:44 -0000 It's possible to generate temporary files in a secure manner; there's probably something in the ports collection to generate good, random file names. I'm not sure I'd go to so much trouble to avoid using a file for --init-file or --rc-file. That aside, you could try using expect to script the bash session. -- Adam Fabian (afabian@austin.rr.com)