NOT escaping bash history
When some user logouts, the history of his commands got written to $HOME/.bash_history
If for some reason the user unsets his enviroment variable $HISTFILE the history is lost and it cannot be viewed what he has done while he was logged in.
My question is, can I in some way prevent him for hiding his history? The shell is bash. Something like doesn't allowing him to unset enviroment variables or doesn't allowing him changing them. Normally he can hide this via