Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 14:20:37 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Kevin Hunter <hunteke@earlham.edu>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>, VeeJay <maanjee@gmail.com>
Subject:   Re: How to disable command prompt history?
Message-ID:  <20070604142037.0884d59f@localhost>
In-Reply-To: <46637B07.6050705@earlham.edu>
References:  <2cd0a0da0706020638g48b7ac7fn946c6e3caddc0663@mail.gmail.com> <466199E5.3040005@vindaloo.com> <e14997e00706021056h2c94e1c6je3e57acc33841066@mail.gmail.com> <4661B6E0.803@earlham.edu> <2cd0a0da0706030142l1fd30d74yc443e132337daf37@mail.gmail.com> <46637B07.6050705@earlham.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 03 Jun 2007 22:37:59 -0400
Kevin Hunter <hunteke@earlham.edu> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070604142037.0884d59f>