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!

change password for email accounts.

Discussion in 'E-mail Discussion' started by V1kr6m, Jun 12, 2013.

  1. V1kr6m

    V1kr6m Member

    Joined:
    Apr 12, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi ,

    Is there any way to change email user password from command line. like /script/command


    Thanks
    Vikram Dhindsa
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    There is no cpanel scripts to reset the email account password through command line because the email account passwords are saved in /home/user/etc/shadow file in the encrypted mode, so Its better to change the email account password Cpanel.

    If you want to add Email account on your server through SSH you can do it using the following command

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    There are no scripts provided by cPanel that will change the password of an email account. If using the command line is a requirement, you would have to develop a script using our API2 function for changing the email account password:

    Passwdpop

    Thank you.
     
    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