bash_history file

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
Athlon101
Registered User
Posts: 14
Joined: Thu Nov 22, 2007 11:15 pm
Location: London
Contact:

bash_history file

Post by Athlon101 » Fri Mar 21, 2008 11:29 pm

Hi everyone

I am currently running phpBB2 v 2.0.23 with the Saphir skin

I have recently encountered a problem on the cms system I have integrated phpBB2 with and whilst rectifying these problems I have found 2 files on the server which I dont recall seeing before. The files in question are .viminfo and .bash_history.

Does anyone know what these files are used for?

Are these files related to phpBB2?


Thanks
Athlon

User avatar
ric323
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: bash_history file

Post by ric323 » Fri Mar 21, 2008 11:57 pm

Neither of those files are related to phpBB.
I would guess .bash_history is keeping a log of commands entered at the bash command line, which is something specific to your web server.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Re: bash_history file

Post by espicom » Sat Mar 22, 2008 2:47 am

Both files are there because your "home" directory on the server is the same as your web directory. This means you actually have command line access (via SSH, using tools like puTTY) to the server, which could help later, but most people don't want to learn the specifics of how to take advantage of that.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

Athlon101
Registered User
Posts: 14
Joined: Thu Nov 22, 2007 11:15 pm
Location: London
Contact:

Re: bash_history file

Post by Athlon101 » Sat Mar 22, 2008 11:27 am

Thanks for the info on this one.

One thing re command line access via putty, does this pose a possible security problem? (does it make it easier for hackers to get in?)

Athlon

User avatar
Lumpy Burgertushie
Registered User
Posts: 66747
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: bash_history file

Post by Lumpy Burgertushie » Sat Mar 22, 2008 1:54 pm

nope, it is part of most servers out there. all of my servers are setup this way.

if you are really curious, ask your host. they are the ones that know how the server is set up , etc.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Re: bash_history file

Post by espicom » Sat Mar 22, 2008 3:34 pm

Access via puTTY is far more secure than FTP access - if your FTP client supports "sftp", you should try using it. This is because SSH (and sftp) are encrypted, while regular FTP is not.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

Locked

Return to “2.0.x Support Forum”