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!

Mass-edit cpanel contacts

Discussion in 'General Discussion' started by Xavior82, Jun 27, 2008.

  1. Xavior82

    Xavior82 Active Member
    PartnerNOC

    Joined:
    Oct 5, 2006
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Montreal
    There doesn't seem to be a WHM tool to mass-edit cpanel accounts' contact email, so I was wondering if there was a database that WHM used to store these, so that I can insert the changes directly into the database. I have roughly 1200 accounts to change and would rather not edit them manually one by one via the modify account page.

    Thanks in advance!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. freelancer4u

    freelancer4u Member

    Joined:
    Oct 26, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    India
    Cpanel stores contact email address for each account name in /home/<username>/.contactemail

    Just edit the file, and change the email address there. If you wish to change the contact email address for all your accounts, you can try executing:

    :cool:
     
    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