#1 (permalink)  
Old 08-31-2006, 09:02 AM
Registered User
 
Join Date: Dec 2005
Posts: 51
moFBush is on a distinguished road
Few New User Questions

Hello,

I'd like to see if I could get a few of my questions asnwered here on the cPanel Forums.

First off I'm looking for a way to edit system files (any/all files) via something other than SSH -- I purchased CuteFTP Professional because it supports SecureFTP which from what I understand you're able to access the system with a root login via sFTP. For some reason my system isn't allowing me to access via sFTP with the root login. What am I doing wrong?

Second, i've got installed "ConfigServer Security & Firewall - csf v2.21" which helps easily control ports that are open, IP's that need to be filtered and the security level of my machine. On the note of security, I have a question.. What is "phpsuexec" ? The ConfigServer software is telling me I should recompile Apache with it enabled and that I should know what it is before I do so.

Third, along with the ConfigServer Software it also tells me to set a limit of how many emails can go out via "WHM > Tweak Settings > The maximum each domain can send out per hour" What is a good setting for this?

Thank you very much for your time and support. I love the software you guys are developing it makes my life a LOT easier.

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-31-2006, 12:04 PM
Registered User
 
Join Date: Dec 2005
Posts: 51
moFBush is on a distinguished road
Well I solved one of my problems. I'm able to use SFTP now, I didnt realize it ran off of the SSH port which I changed from 22 to a different value.

Someone please answer my other questions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-29-2006, 08:20 AM
Registered User
 
Join Date: Aug 2006
Posts: 113
angelina_holy is on a distinguished road
On most Apache servers, PHP runs as an Apache Module. As such, it runs directly in the user Nobody, but doesn't require the execute flag.

This means that in order to execute a PHP file, it simply needs to be world readable.
The problem is that this allows every other users on the server to read your PHP files !

Allowing other users to read your HTML files is not a problem, since they can be displayed in Internet Explorer. However, PHP files are not readable, they are parsed.

Many scripts use a PHP file to store a database username and password. This means that on another server every client could read your PHP files, retrieve your password and access your databases.
We did so by installing a module called PHPsuexec, which executes PHP scripts under your username.
As such, instead of using everyone's permissions it uses the owner's permissions.
You can thus change the permissions of your PHP scripts to : 0700 or 0400 and still be able to read and execute them. However, these scripts will no longer be accessible to any other users.
fact, PHPsuexec will refuse to execute a script if it is world-writtable to protect you from someone abusing one of your scripts.


2.The maximum mails to be send is 500
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc