linux eternal bash history all users secured
I use this on my unix/linux boxes for eternal bash history for all users (place in /etc/bashrc) if [ “$BASH” ]; then export HISTTIMEFORMAT=”%Y-%m-%d_%H:%M:%S ” export PROMPT_COMMAND=”${PROMPT_COMMAND:+$PROMPT_COMMAND ; }”‘echo “`date +’%y.%m.%d-%H:%M:%S:’`” $USER “(“$ORIGINAL_USER”)” “COMMAND: ” “$(history 1 | cut -c8-)”…