4 ms·
> Surely that's a crock of BS? In what situation do bash histories contain typed passwords in plaintext? When you mistakenly typed it at the shell prompt inste
by himinlomax 6y ago
> Surely that's a crock of BS? In what situation do bash histories contain typed passwords in plaintext?
When you mistakenly typed it at the shell prompt instead of the sudo prompt, for example. Speaking from actual experience.
- deleted 6y ago[deleted]
- xdavidliu 6y agoThat doesn't seem to be case from the article: > The entire process took about eight seconds. And then he did what he had always done since he first started programming computers: he deleted his bash history. To access the computer he was required to type his password. If he didn’t delete his bash history, his password would be there to see, for anyone who had access to the system. It seems that deleting his bash history was something _routine_ that he did every time, not some one-off thing to fix an occasional mistake.