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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change Multiple Email accounts password

Discussion in 'E-mail Discussions' started by crazyaboutlinux, Dec 3, 2010.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Nov 3, 2007
    Likes Received:
    Trophy Points:
    Hi there,

    there are currently more than 500+ Email accounts are created on the domain, Now we want to change password of All email ids in Bulk. Is there any facility or any kind of script ??

    Please suggest i need your Help!
  2. kuldeep_

    kuldeep_ Well-Known Member

    Apr 24, 2010
    Likes Received:
    Trophy Points:
    Currently there is no such feature provided by cPanel/whm to change multiple email account password.

    Try Following trick :cool:
    cPanle stores email account password under file /home/user/etc/

    Replace user and with your actual details.

    File contents will look something like

    where test is the name of email account and "$1$8_xMjvMw$.J/mr6rZXqc6zaf1RYfZ1/" is the encrypted password.

    Now you will need to reset password for one email account, then copy the same encrypted password and replace it in the second filed for all email account users.

    to replace password, you will need to find some editor or something which will make it easy for you to replace second filed for file shadow

Share This Page