How-To-Secure-A-Linux-Server icon indicating copy to clipboard operation
How-To-Secure-A-Linux-Server copied to clipboard

Disabling bash history on root account?

Open thibaultmol opened this issue 1 year ago • 3 comments

Searched the repo and didn't find anything about this, is this something that should be included? https://sunknudsen.com/privacy-guides/how-to-configure-hardened-debian-server#step-3-disable-root-bash-history

Step 3: disable root Bash history

echo "HISTFILESIZE=0" >> ~/.bashrc history -c; history -w source ~/.bashrc

thibaultmol avatar Dec 29 '23 19:12 thibaultmol

That's a good idea. I'm dealing with some personal issues right now but when I get time I'll go through that guide and see if there is anything else worth including.

imthenachoman avatar Jan 06 '24 18:01 imthenachoman

good point. ;) Add PR ^^ Mr @imthenachoman will aprove (or not ^^)

hellresistor avatar Apr 11 '24 22:04 hellresistor

It's a good idea but it will take some time to format the data in a way to fit into the guide. I'll work on it when I get time.

imthenachoman avatar Apr 12 '24 01:04 imthenachoman