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-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:
    6
    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!
     
  2. freelancer4u

    freelancer4u Member

    Joined:
    Oct 26, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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:
     
Loading...

Share This Page