From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 04:20:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49DF616A47C for ; Mon, 4 Jun 2007 04:20:43 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id D332113C43E for ; Mon, 4 Jun 2007 04:20:42 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 7997 invoked from network); 4 Jun 2007 14:20:42 +1000 Received: from 203-214-138-113.perm.iinet.net.au (HELO localhost) (203.214.138.113) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Jun 2007 14:20:42 +1000 Date: Mon, 4 Jun 2007 14:20:37 +1000 From: Norberto Meijome To: Kevin Hunter Message-ID: <20070604142037.0884d59f@localhost> In-Reply-To: <46637B07.6050705@earlham.edu> References: <2cd0a0da0706020638g48b7ac7fn946c6e3caddc0663@mail.gmail.com> <466199E5.3040005@vindaloo.com> <4661B6E0.803@earlham.edu> <2cd0a0da0706030142l1fd30d74yc443e132337daf37@mail.gmail.com> <46637B07.6050705@earlham.edu> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions , VeeJay Subject: Re: How to disable command prompt history? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 04:20:43 -0000 On Sun, 03 Jun 2007 22:37:59 -0400 Kevin Hunter wrote: > Also, why are you worried about them seeing what commands you've been > running? My first thought is that at the point a malicious someone has > broken into your system, you have (much) bigger things to worry about. good point. I do have this done in my laptop, only because I can :D (and a bit harder for someone to know what u're supposed to do to mount the encrypted drives.... big deal :D ) anyway, I just linked ~/.bash_history to /dev/null - history works within the current shell, but not once I've exited. Anyway, having multiple shells writing to the same history file is always problematic - it never keeps the one you really need :-S _________________________ {Beto|Norberto|Numard} Meijome "He uses statistics as a drunken man uses lamp-posts ... for support rather than illumination." Andrew Lang (1844-1912) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.