Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Migration from mod_ruid2 to DSO only and public file permission

Discussion in 'General Discussion' started by Archmactrix, May 29, 2013.

  1. Archmactrix

    Archmactrix Well-Known Member

    Joined:
    Jan 20, 2012
    Messages:
    138
    Likes Received:
    2
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Using DSO and mod_ruid2 has been going rather well the last year. But when using mod_ruid2, it restricts me too much from choices I can make when wanting to experiment with other modules, so I've been thinking about stop using mod_ruid2.

    1. If I stop using mod_ruid2 on my server, how will it affect the file permissions in the public directory when using DSO only, do I need to adjust the file permissions, like setting it to 777, to make files writable when needed, or is there a way to make it unnecessary?

    2. It's my understanding, and correct me if I'm wrong, when using DSO on a server for only one user, it has less security implications than using it on a multi user server?
     
    #1 Archmactrix, May 29, 2013
    Last edited: May 29, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    This depends on the specific scripts that you have installed. Some scripts may require files/directories with 777 permissions with DSO, which can be insecure.

    There is some truth there because it's easier to distinguish which account is responsible for the PHP "nobody" processes, but it does not change the insecure permissions that are sometimes required for scripts to work with DSO.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice