The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

public_html directory on new accounts owned by user group instead of nobody

Discussion in 'Security' started by spyke01, Apr 16, 2014.

  1. spyke01

    spyke01 Member

    Joined:
    Sep 24, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It appears that new accounts are being created with a user:user 750 public_html instead of user:nobody. I've run /scripts/chownpublichtmls to fix the current users.

    How can i make sure that all new accounts created from WHM will use user:nobody?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check to see if you are using Mod_Ruid2:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    The public_html directory should in-fact have group ownership set to the account username when using Mod_Ruid2.

    Thank you.
     
  3. spyke01

    spyke01 Member

    Joined:
    Sep 24, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Looks like we don't have it configured that way:

    Code:
    Available handlers: suphp dso cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: suphp
    SUEXEC: enabled
    RUID2: not installed
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please open a support ticket using the link in my signature. Feel free to post the ticket number here so we can update this thread accordingly.
     
  5. spyke01

    spyke01 Member

    Joined:
    Sep 24, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks, ticket ID is 4829539
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this happened because FileProtect was disabled. The resolution for anyone else experiencing this issue is to enable the FileProtect module via EasyApache.

    EasyApache Documentation - FileProtect

    Thank you.
     
  7. spyke01

    spyke01 Member

    Joined:
    Sep 24, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yep, thanks for the help guys!
     
Loading...

Share This Page