Where are the logs for ISPConfig 3 SSH users?
When ISPConfig 3 creates a new SSH user, where does it put the .bash_history log file?
I would like to be able to review command line histories on a few of the users accounts that I set up.
if it is not in the web root directory then there is no such log.
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
# 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.
Please post this to the bugtracker if you like this to be changed in future versions.
ISPConfig 3 new shell user .bash_history file missing
That sounds like a good idea. --Thanks!
|All times are GMT +2. The time now is 12:57.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.