diff --git a/static/history.sh b/static/history.sh index 1d33917f11..f23a07cf8d 100644 --- a/static/history.sh +++ b/static/history.sh @@ -1,5 +1,7 @@ #!/bin/sh +# Security measure: clear .bash_history by default on login +# For more info: https://github.com/nextcloud/vm/issues/2481#issuecomment-1529175048 truncate -s0 "$HOME/.bash_history" exit 0