Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default disable_functions advise - good/bad

    I read some about this function and tried to understan som of the commands in php but didn't very well.

    So if for example using:
    disable_functions = exec, shell_exec, system, passthru

    Can this mess up the most common scripts like oscommerce with processor
    or any other scripts ?

    If using shell_exec above will this stop php shell scripts ?

    Any tips, good or bad regarding disable_functions and how it affects
    clients using different commands is appreciated.

    And another question: what is port 53 used for ?

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It depends on your motivation for doing it. If it's to restrict cPanel users, then unless you're also going to disable the use of CGI scripts completely as well then it's pretty much pointless restricting those functions.

    Port 53 is used for DNS. Look in /etc/services for an idea on port allocation < 1024
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    yes it's to tweak the security a little.
    I found a shell php script uploaded - offcourse they can use perl instead
    but atleast we closed one of the options.

Similar Threads & Tags
Similar threads

  1. Autoresponder - good or bad?
    By gilman01 in forum New User Questions
    Replies: 3
    Last Post: 07-19-2007, 09:00 AM
  2. Good or bad
    By petfut in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2006, 03:55 AM
  3. Urchin Stats - Good Bad??
    By lloyd_tennison in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-03-2006, 02:48 AM
  4. Good or Bad???
    By ZeXhosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-17-2005, 04:17 PM
  5. Anyone know the bad or good of WinSCP?
    By dianaward in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-24-2003, 03:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube