Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling bash history on root account? #113

Open
thibaultmol opened this issue Dec 29, 2023 · 3 comments
Open

Disabling bash history on root account? #113

thibaultmol opened this issue Dec 29, 2023 · 3 comments

Comments

@thibaultmol
Copy link

thibaultmol commented Dec 29, 2023

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

@imthenachoman
Copy link
Owner

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.

@hellresistor
Copy link
Contributor

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

@imthenachoman
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants