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.

Homedir permissions

Discussion in 'Security' started by AlexVB, Oct 9, 2013.

  1. AlexVB

    AlexVB Member

    Joined:
    Oct 23, 2007
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    1
    Hello.

    1) Is it possible to set default user home permissions to 750 or 700 instead of 711?
    2) Will such change interfere with any functions of cpanel/whm (assuming that i use mod_ruid2)?

    Thanks.
     
    #1 AlexVB, Oct 9, 2013
    Last edited: Oct 9, 2013
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Functionally as long as users aren't members of each others groups (they should not be) then 750 will not offer you any extra functionality over 711. 711 is more secure and I recommend staying with this. Either way it should not interfere with mod_ruid2, though, I personally recommend against using mod_ruid2 until the modsecurity compatibility is fixed. I'd recommend cloudlinux with cagefs and securelinks and a good modsecurity ruleset over mod_ruid2 any day.
     
  3. AlexVB

    AlexVB Member

    Joined:
    Oct 23, 2007
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    1
    Hello. Thank you for your reply.

    I know that there are several ways to make server more secure, but i want to experiment with homedir permissions.

    Is there any way to set default permissions?

    Thanks.
     
  4. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Deafult permissions of new directores in general are determined by umask, however, I don't know if useradd pays attention to umask.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Could you elaborate on the need to modify the permissions of the home directories for your accounts? For instance, is there a specific configuration that is not working with the default permissions?

    Thank you.
     
Loading...

Share This Page