Skip to content

Disabling bash history on root account? #113

@thibaultmol

Description

@thibaultmol

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions