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.

Tweak mod_userdir Security question

Discussion in 'Security' started by knipper, Feb 11, 2010.

  1. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Hi all,

    I have this mod in use. However I want to allow new clients whose domain has not yet propegated to be able to see their site if testing.

    If I uncheck the default nobody setting, I am guessing that would work. and until the domain propegates they should be able to use it. Or will the shared server IP always let them see it that way?

    Thanks in advance. :D
     
  2. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Hi there,

    What you can do, is add the user name is as an additional user for the DefaultHost (nobody) account. You do not have to exclude protection for that account either. Just add the user names in, if you want multiple user names, separate them with spaces, ie:

    user1 user2 user3

    Chris
     
  3. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Chris,

    However I am testing WHMCS to automate the signup process. In my welcome e-mail I inform them they can check their site at http://sharedserverip/~newsite

    I don't think I would want to try and automate the addition to the default account, if it would even be possible.

    Any ideas?
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What ChrisRHS has described is correct.

    If the need is to allow accounts access without specifically setting up that username for access then I would consider having protection excluded for the default virtual host (owned by user "nobody"); I believe this will have the desired effect.
     
  5. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Thanks

    Thanks for the resposes guys. Prior to cPanelDon's response I tested just that, and it did work as described.

    Thanks again! ;)
     
Loading...

Share This Page