Where are the logs for ISPConfig 3 SSH users?

Discussion in 'General' started by dpicella, May 8, 2009.

  1. dpicella

    dpicella New Member

    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.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    if it is not in the web root directory then there is no such log.
  3. dpicella

    dpicella New Member

    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.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post this to the bugtracker if you like this to be changed in future versions.
  5. dpicella

    dpicella New Member

    ISPConfig 3 new shell user .bash_history file missing

    That sounds like a good idea. --Thanks!

Share This Page