Shell game: Managing Bash command history

Posted by: agent0x0

Here is a good article on how to manage your shell history. For those of you that don't know, all the commands that you enter into a Bash shell (default shell on many Linux distros) are stored in a history file. This is to allow a user to use previous executed commands. The problem with this is that an attacker could easily compromise this history file and get all kinds of good data if they were able to own your machine. With these tips you can limit the size and behaviour of this file or remove the history on logout.

Shell game: Managing Bash command history
« Prev item - Next Item »
---------------------------------------------

Comments

No comments yet. You can be the first! When submitting a comment you may not see it until it is approved by the moderator!

Leave comment

This item is closed, it's not possible to add new comments to it or to vote on it