2 ms·
I think you have an unusual take on this. Why do you disable history?
by maleldil 3y ago
I think you have an unusual take on this. Why do you disable history?
- SoftTalker 3y agoPeople's history files are a great place to look for passwords and other secrets, mainly. I suppose that risk could be reduced by having the history file encrypted on disk, but I don't know of any shell that does that (can't honestly say I've really looked though).
- philsnow 3y agoI get a ton of value out of having my shell history available (both for search but also to try to reconstruct steps of what I did yesterday when my memory is hazy) I guess you could set up an entropy scanner and flag history lines that have high entropy, but that might not be enough (low-entropy secrets) and might be bothersome (lots of false positives / things that are technically secrets but that you don't care if they're in your shell history).