[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command history

On Thu, Apr 28, 2011 at 01:58, shawn wilson <ag4ve.us@gmail.com> wrote:
> ...
> And I'd like a way for my system to not store my password scheme. I'd prefer
> something better than editing my history file.

Instead of tampering with your system what would you say on issuing those
sensitive commands in a new shell and then KILL that shell?

For example:

$ echo "This will propably get into .bash_history."
This will propably get into .bash_history.
$ bash
$ echo "While this won't when this shell gets KILLED!" | sha512sum
$ pgrep bash
$ kill <PID-of-that-new-bash-shell>


Reply to: