View Single Post
Old 8th May 2009, 23:00
dpicella dpicella is offline
Senior Member
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Exclamation troubshooting .bash_history


I managed to get it to work, but I think there may be an error in the ISPConfig 3 Shell user setup and configuration

I noticed that:

# echo $HISTFILE

produces: /path-to-webroot/.bash_history

# export HISTFILE

didn't produce anything until I created an the empty .bash_history file with the root account, in the webroot directory using

# touch .bash_history

Then, I gave it permission 775 and assigned it to user:group apache:web3 (in this case)

Now, when I exit, I notice that the .bash_history file is being populated with the history of commands.
Reply With Quote