Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    1

    Default Mass replace of all user-files

    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. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    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

Similar Threads & Tags
Similar threads

  1. how to replace the existing files
    By muhammad_ijaz in forum New User Questions
    Replies: 1
    Last Post: 01-19-2010, 09:34 PM
  2. will re-compiling PHP using EasyApache will replace old config files
    By alex_funky_dj in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-29-2009, 08:34 PM
  3. command to find and replace a word in files directory wide
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-09-2006, 03:40 PM
  4. How do you do a find and replace for all the files in a directory?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-14-2005, 09:49 PM
  5. How to replace text within 600+ files.
    By nat in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-01-2004, 04:42 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube