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!

secure way to access the /frontend/ folder

Discussion in 'User Experience' started by Roy@ENHOST, Jun 20, 2003.

  1. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    493
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Los Angeles California
    Hi guys is there any safe and secure way to allow one of my reseller to access the /usr/local/cpanel/base/frontend/ folder?

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    168
    If you're wanting to have them alter a theme, the easiest way is to put it within their root directory and then create a symlink in /usr/local/cpanle/base/frontend to it.

    cPanel.net Support Ticket Number:
     
  3. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    493
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Los Angeles California
    Re: Re: secure way to access the /frontend/ folder

    Thanks a million

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    166
    Creating the link would allow the customers to have there own themes within there folders and to keep them updated etc.

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Re: Re: secure way to access the /frontend/ folder

    What is the command to create a symlink? How about to delete one?

    cPanel.net Support Ticket Number:
     
  6. n1zyy

    n1zyy Member

    Joined:
    Mar 16, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    151
    To create a symbolic link:

    ln -s original_file linkname

    Deleting it is just as you'd do on a normal file (make sure you delete "linkname" and not the original :))

    rm linkname
    (NOT rm original_file unless you want to truly delete the file)

    cPanel.net Support Ticket Number:
     
  7. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    166
    For an example


    cd /usr/local/cpanel/base/frontend/

    ln -s x2 /usr/local/cpanel/base/frontend/Xskin

    correct me guys if I'm wrong :D..

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. rbmatt

    rbmatt Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    166
    Yea, but it should fail if the Xskin directory is still there.
    Also, to stay in the same directory you can use ./ instead of having to type the whooole path again
    ex ln -s x2 ./Xskin

    cPanel.net Support Ticket Number:
     
  9. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    166
    Right. I knew that.

    cPanel.net Support Ticket Number:
     
    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