Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2009, 17:46
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Question 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!
Reply With Quote
Sponsored Links
  #2  
Old 8th May 2009, 18:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,420
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

if it is not in the web root directory then there is no such log.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th May 2009, 22: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

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.
Reply With Quote
  #4  
Old 9th May 2009, 18:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,420
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please post this to the bugtracker if you like this to be changed in future versions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th May 2009, 20:36
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
 
Default ISPConfig 3 new shell user .bash_history file missing

That sounds like a good idea. --Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Clamav + samba configuration wammy28 HOWTO-Related Questions 8 31st January 2009 19:12
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 18:37
Can't enable SSH access for users TheFuzzy0ne Installation/Configuration 3 8th August 2008 16:53
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
SSH Users CHROOT howser Installation/Configuration 20 2nd August 2006 08:22


All times are GMT +2. The time now is 21:49.


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