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.

how do I ftp to /root/cpanel3-skel

Discussion in 'General Discussion' started by orbwebs, Mar 15, 2005.

  1. orbwebs

    orbwebs Member

    Joined:
    Dec 21, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I know that I can put my own index page into the directory /root/cpanel3-skel so that new accounts do not show the parent directory, but I cannot figure out how this is done. :confused: Does anyone know?

    Thanks,
    Keren
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    FTP to root is a bad idea


    use sftp with your ssh cleint
     
  3. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
  4. Apparatus

    Apparatus Registered

    Joined:
    Sep 3, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    When I updated my skeleton directory, I uploaded all the files to a secondary-staging-location, for lack of better terms. After which, I shelled into my server with ssh, cd'd to /root/cpanel3-skel/public_html/. And finally, wget'd all the files I needed.

    To reiterate:

    1: Upload files you want in the skeleton diretory to any location accessable via the web.

    2: Access your server via ssh and gain root access.

    3: cd /root/cpanel3-skel/pubic_html/

    4: wget -url-to-file-here-
    (e.g. wget http://www.somedomain.com/skel_temp/some_file.html)

    5: Repeate step 4 untill you have all the files.

    Regards,

    Apparatus
     
    #4 Apparatus, Mar 15, 2005
    Last edited: May 4, 2005
  5. pentium4

    pentium4 Registered

    Joined:
    Aug 25, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank u very much..this helped me..
     
Loading...

Share This Page