Is there a way to see the commands that I entered in
su mode? Similar to the ~/.bash_history? Where would this be located?
actually it is in .bash_history. But when you
Eg. you changed to root, so using
In Debian you can define the variable SULOG_FILE in file /etc/login.defs as the log file for su activity.
You can test the contents of you login.defs, also man su can tell you if supported.