HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Where are the logs for ISPConfig 3 SSH users? (http://www.howtoforge.com/forums/showthread.php?t=34726)

dpicella 8th May 2009 17:46

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.

Thanks!

till 8th May 2009 18:03

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

dpicella 8th May 2009 22:00

troubshooting .bash_history
 
Well...

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.

till 9th May 2009 18:08

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

dpicella 9th May 2009 20:36

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 03:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.