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!

Path for cwaf_client_install.sh

Discussion in 'General Discussion' started by alouty, Apr 14, 2014.

  1. alouty

    alouty Registered

    Joined:
    Apr 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I received support from cPanel:

    The file is not located in /root folder. I see you have it currently in /home/bestjob/public_html/root/cwaf_client_install.sh
    How are you transferring the file to the server? Looks like via FTP to a user's home directory. That won't work.

    The file needs to be put in /root folder via SCP or another method to transfer the file.

    You can copy the file from /home/bestjob/public_html/root/cwaf_client_install.sh to /root and then issue the bash /root/cwaf_client_install.sh command.
    ------------------------------------------------------------------------
    I also FTP cwaf_client_install.sh to /home/bestjob/public_html/cwaf_client_install.sh. May I know what is the exact command to keyin for scp <file> <username>@<IP address or hostname>:<Destination>?? What is <username>? Is it root? What is <file> and <Destination>?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, you will need to use the "root" username if uploading a file to the /root directory. Have you considered using SFTP and uploading the file with a client such as FileZilla (assuming you use Windows)?

    Thank you.
     
    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