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 password for email accounts.

Discussion in 'E-mail Discussions' 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,146
    Likes Received:
    34
    Trophy Points:
    48
    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

     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page