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!

Need Help :: Symlink between cPanel Account and Root

Discussion in 'cPanel Developers' started by sampathneo, Sep 29, 2011.

  1. sampathneo

    sampathneo Registered

    Joined:
    Sep 29, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I need help with create permanent "folder" (default like WWW folder ) on each new cPanel accounts, it should be automatic , means when we crate new cpanel account on whm, it should be create automatically on cpanel account , it should be symlink with root/ folder
     
  2. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you create /root/cpanel3-skel/ the contents of it should automatically be copied into a user's directory on new account creation.

    That being said, putting a symlink into here to /root won't work due to permissions. If you changed those permissions, you would create a way for users to steal information that should only be available to root (mysql passwords, accesshashes, etc)
     
    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