Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 19 of 19
  1. #16
    Member
    Join Date
    Jan 2003
    Posts
    19

    Default

    Originally posted by jamesbond
    I don't think I quite follow what it is supposed to do then.

    If you don't run phpsuexec, people can still use php scripts to snoop around, as user nobody, in other users' directories, right?

    cPanel.net Support Ticket Number:
    This is why I say that it can stop stealing other users' data via shell or cgi.

    You can use "php open_basedir Tweak" to avoid bad php scripts.

    cPanel.net Support Ticket Number:

  2. #17
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Originally posted by mmkassem
    Do I have to recompile apache or just use:
    /scripts/enablefileprotect
    ?
    Just the script
    That script is only chmoding the existing user directories 711. It's not chowning or chmoding the existing public_htmls to owner.nobody 750. Is there a separate script to do that?



  3. #18
    Member
    Join Date
    Oct 2002
    Location
    Egypt
    Posts
    391

    Default

    Originally posted by goodmove
    Just the script

    That script is only chmoding the existing user directories 711. It's not chowning or chmoding the existing public_htmls to owner.nobody 750. Is there a separate script to do that?
    [/QUOTE]

    pico /scripts/enablefileprotect

    You will see at the bottom:

    chmod 0711, $homedir;
    chown $useruid,$httpgid, "${homedir}/public_html";
    chown $useruid,$httpgid, "${homedir}/public_html/_vti_pvt";
    chmod 0750, "${homedir}/public_html";


    try to update the scripts (/scripts/updatenow)

    cPanel.net Support Ticket Number:

  4. #19
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default

    You can now reverse the changes that /scripts/enablefileprotect makes with a new script that they just added called /scripts/disablefileprotect.

    It was causing the majority of our cgi scripts to stop working. But after running the disabler all was well.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Reseller WWWAcct
    By binaer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-17-2005, 11:39 AM
  2. Please use the this syntax wwwacct
    By StandBy1 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-07-2004, 01:08 PM
  3. wwwacct.conf Which One?
    By jackal in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-16-2003, 11:21 AM
  4. wwwacct Problems
    By jackal in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-21-2003, 08:55 AM
  5. wwwacct and wwwacct2
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-03-2002, 10:08 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube