
26 Nov
2006
26 Nov
'06
04:48
Why dont just set SAVEHIST to zero or set HISTFILE to /dev/zero.
Yes that works. Some people do. It's less secure but works.
Very appropriate for mobile USB devices that change hands (or get lost!).
why you dont just encrypt
We do, of course. The command line history is a security leak in its own right (orthogonal to disk encryption), much like swap space. Google for info, if the problems seem non-obvious. We just wanted to second the idea of "do something," whatever it may be.
Thanks,
M.