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.

Mass replace of all user-files

Discussion in 'General Discussion' started by michalexpromo, Nov 5, 2009.

  1. michalexpromo

    michalexpromo Registered

    Joined:
    Nov 5, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone!

    I'm a newbie here and Was not able to find a solution to the problem I'm facing.
    I'm using WHM to provide customers with new accounts that include a installation of my script.

    The problem is that I would like to be able to do a mass-replace of certain files of the script when a bug is reported and then fixed.

    So I have 2 questions:
    1) Can I access all of my user files from ... a single FTP connection as an ultra-root maybe? I have a reseller account in a hosting company, can this be done?
    2) Maybe a software like this already exists? :)

    Please let me know - thank you.
     
  2. 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:
    If your service provider allows command-line access via SSH for all accounts this would be possible using SSH keys, where you could upload the new files via SFTP, or while logged-in using your main reseller account initiate SSH commands as or an SCP file transfer to each cPanel account user provided that each user has authorized your public SSH key. I recommend checking with your service provider to see if SSH access is available for all accounts. Please note that certain features in WHM may require root (Administrator) access privileges (i.e., to enable or disable SSH access, and managing SSH keys via WHM).

    The following documentation may also help in regard to managing SSH keys:
    ManageSsh < AllDocumentation/WHMDocs < TWiki
    ShellAccess < AllDocumentation/CpanelDocs < TWiki

    Related control panel menu paths:
    WHM: Main >> Security >> Manage SSH Keys
    cPanel: Main >> Security >> SSH/Shell Access >> Manage SSH Keys
     
Loading...

Share This Page