Enable Safe_mode For Particular Account

Dec 3, 2007

how i can disable safe mode for 1 account .... i have the fallowing info system :

php 5.2.5
apche 2.2
suphp

i have search in the httpd.conf and i found this

Code:

ServerName xxxx.com
ServerAlias www.xxxx.com xxxxx.com
DocumentRoot /home/xxxxx/public_html
ServerAdmin webmaster@***********
UseCanonicalName Off
TransferLog /usr/local/apache/domlogs/xxxx.com
CustomLog /usr/local/apache/domlogs/xxxx.com-bytes_log "%{%s}t %I .
%{%s$
## User sansnom # Needed for Cpanel::ApacheConf
UserDir disabled
UserDir enabled xxxxxxx
<IfModule mod_suphp.c>
suPHP_UserGroup xxxxx xxxxx
</IfModule>
<IfModule concurrent_php.c>
php4_admin_value open_basedir "/home/xxxx:/usr/lib/php:/usr/php4/lib$
php5_admin_value open_basedir "/home/xxxx:/usr/lib/php:/usr/local/li$
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/php4/$
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/local$
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/php4/$
</IfModule>
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxxxxx xxxxxx
</IfModule>
ScriptAlias /cgi-bin/ /home/xxxxxx/public_html/cgi-bin/

in wich part chould i add the commande line to disable the safe mode?

View 2 Replies


ADVERTISEMENT

Disabling Safe_mode In My Account

Mar 1, 2008

i have a dedicated server wich has safe_mode ON.

i run a joomla portal and i am having issues regarding uploading new modules and stuff like that.. i know that the solution is disabling the safe_mode

i have tried using a customized php.ini but it didnt work... what else can i try?

View 4 Replies View Related

How Can Custom Safe_mode / Register_globals For An Account

Dec 10, 2008

How can custom safe_mode / register_globals for an account?

Hi,
I have with CentOS 5.2 + cPanel/WHM. For security i edited suphp.conf and force all users use my main php.ini config:

[phprc_paths]
application/x-httpd-php=/usr/local/lib/
;application/x-httpd-php4=/usr/local/php4/lib/
application/x-httpd-php5=/usr/local/lib/

Now i wanna turn on register_globals and turn off safe mode for an account, how can i do that?

View 3 Replies View Related

Enable The Disabled Functions For An Account

Jul 4, 2008

i have disbaled many functions in php.ini settings ! for security!

but i need to use some of the functions for my billing System!

how can i enable all the functions just for an account? or a directory!

View 0 Replies View Related

How To Enable/disable Cronjobs For All Account On WHM/cPanel?

Aug 31, 2007

I'm manage on dedicated server.

I need to know method enable/disable cronjobs for all account on WHM/cPanel?

View 2 Replies View Related

PHP Safe_mode

Jun 21, 2007

Does anyone know if PHP safe_mode can be enabled on a per user basis?

View 9 Replies View Related

Open_basedir , Safe_mode

Feb 1, 2008

when I make open_basedir effect in whm > security center

I have in my script this problem :

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/xxxx/:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/misc.php on line 685Warning: fwrite(): supplied argument is not a valid stream resource in /admincp/misc.php on line 688Warning: fclose(): supplied argument is not a valid stream resource in /admincp/misc.php on line 689 

when I disable it I have this other one problem :

Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 32010 is not allowed to access /tmp/vbthumbLTfVOk owned by uid ..

View 2 Replies View Related

CURLOPT_FOLLOWLOCATION Cannot Be Activated When In Safe_mode

Jun 13, 2008

i get an error message for a site im trying to build.

id like to know if there are scripts i can upload myself to turn off safe mode and to sto the base dir thing.

i understand this can be done in php.ini and htaccess.

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/g/public_html/term-sample.php on line 58

View 3 Replies View Related

How To Stop This Attack [Bypass Safe_mode & Openbase Dir]

Feb 6, 2008

Recently, some of our Linux/cPanel servers got hacked (not rooted) by using the following code (method)

#!/usr/bin/perl
symlink ("/home/USER/config.php","/home/USER2/test.txt");

The hacker just execute the perl file , and then he called the "test.txt" file through internet explorer , and its done , he can read the file easily !

We tried to :

1- run php as CGI module.
2- run SUPHP module.
3- run php as apache module.
4- enable open_basedir and safe_mode.

But the hacker still can bypass the system!

the only solution is to disable /usr/bin/perl , chmoded it to 700 . but thats caused a broken cpanel!

as it requires it to be at 755 for proper operation, since it is used by customers as well when it suexec into the user when they log into cPanel. and so we cannot change it to that setting (700), since it breaks the entire system.

So is there any way to stop the "symlink" perl function?

any way to stop this attack method?

View 14 Replies View Related

Script Auto Remove Account Cpanel - If Account Inactive

Nov 14, 2008

Script Auto Remove account Cpanel - if account inactive ?

View 5 Replies View Related

How Do I Change Database Owner From Beta Account To Live Account

Sep 3, 2007

In moving my site to Drupal, I have had it on a "Beta" account on the same server. I need to move the DB to the "Live" site. How do I re-assign it using the master PHPMyAdmin through WHM to change the owner of the DB from "Beta site" to "Live site"?

View 3 Replies View Related

Sending Info To Account Owner Of Cpanel Account

Jul 27, 2008

I noticed there is always notification to user account mail with account info but on all my servers on different networks notification comes only to server mail.How do i enable that?Do i need to install tweak to whm/cpanel?

View 7 Replies View Related

Existing Account Have Enabled Catch All Account

May 21, 2009

existing account have enabled catch all account automatically & i don't know how?

Main >> Server Configuration >> Tweak Settings
Default catch-all/default address behavior for new accounts. "fail" is usually the best choice if you are getting mail attacks.

currently it is tick marked on fail

And forwarders has been set to e.g jeetu@jeetu.info to domain automatically & also i don't how?

when i try to delete this forwarder its shown deleted successfully

Code:

Email Forwarding Maintenance

jeetu@jeetu.info's mail will no longer be redirected to jeetu.

then again i checked forwarder & found that forwarder is not deleted why?

what could be the problem?

due to this our clients are facing out of disk space running problem & they are not able to get future emails

1. now i want to disable catch all account for all existing accounts at one go

2. also i want to terminate forwarders for all existing users at one go
Let me know how to do this

Check attachment for further reference

View 0 Replies View Related

How To Enable Mbstring

Jul 5, 2009

I want to enable mbstring. I googled and found --enable-mbstring is the key to turning it on but I don't know where to put this. In the php.ini?

View 14 Replies View Related

I Need To Enable Register_globals

Jan 11, 2009

i got hosting with cPanel Control panel i have some problem with this hosting because its "register_globals" disabled , i need to enable the "register_globals" on my hosting ,

View 10 Replies View Related

ClamAV - Should We Enable It?

Dec 6, 2007

I would like to ask whether should we use/enable the clamAV service on our VPS? I have read from several article, it said that ClamAV is pretty hungry on CPU/Memory resources.

I would like to know, do you use/enable the clamAV on your VPS? Or even don't have it installed on your VPS?

View 5 Replies View Related

How To Enable Csf On Start Up

Jul 1, 2009

I have a VPS server, i installed and configure csf, but wonder if i reboot my server the csf would close the connection, or wont work...

so i remmeber how but i really forget and cannot remmber how to enable the csf on the vps start up..

View 8 Replies View Related

Enable InnoDB

Jun 29, 2009

how to enable innodb

use this command in mysql ....

View 4 Replies View Related

How To Enable SSL 3.0 In WHM/cPanel

May 30, 2008

My becky email client don't work with SSL 3.0 (POP3s).

by the way, when use SSL 2.0, it still can't verify certificate. I install StartCOM Free SSL successfully with every services (vps.domain.com)

[url]

View 2 Replies View Related

How To Enable Pdo_mysql

Aug 17, 2008

How do I enable pdo_mysql on my cpanel server? Can I do it somewhere in WHM or do I need to go to command line?

View 7 Replies View Related

How Can I Enable Gettext In Php

Mar 26, 2008

i have a dedicated server with php4 and i have one client that needs to have gettext module enabled..

how can i enable it?

View 3 Replies View Related

Mod_Rewrite (Enable It)

Mar 23, 2008

I have a VPS and I need to enable mod_rewrite.

Here is my PHP Info: [url]

I read a tutorial but I just don't get it. I would appreciate if you could help me out.

I need it for my Wordpress blog.

View 14 Replies View Related

How To Enable Fsockopen

Jun 23, 2007

i use a script that needs fsockopen and curl to work. also i installed curl, but couldn't enable fsockopen. how i can do that? i'm using centos, php5, cpanel etc etc..

i looked php.ini, disable_functions is empty..

View 2 Replies View Related

Enable ,htaccess

Oct 22, 2007

i disabled the .htaccess files when i installed the modsecurity with the following command

/usr/local/apache/bin/apxs -D DISABLE_HTACCESS_CONFIG -cia mod_security.c

now how can i recompile the modsecurity with .htaccess enabled?

View 1 Replies View Related

How To Enable Iconv

Oct 7, 2007

how can i enable iconv (using .htaccess too)

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved