{"id":34089,"date":"2021-09-29T06:40:34","date_gmt":"2021-09-29T06:40:34","guid":{"rendered":"https:\/\/www.hostduplex.com\/kb\/?post_type=ht_kb&#038;p=34089"},"modified":"2021-09-29T06:44:37","modified_gmt":"2021-09-29T06:44:37","slug":"cpanel-change-email-password-command-line","status":"publish","type":"ht_kb","link":"https:\/\/www.hostduplex.com\/kb\/article\/cpanel-change-email-password-command-line\/","title":{"rendered":"How to change a cPanel email account password via the command-line"},"content":{"rendered":"\r\n<p>This knowledgebase provides you with the cPanel command you can use to reset or change a cPanel email account password via SSH or terminal.\u00a0 Using the command-line can oftentimes be a more efficient way of changing passwords. Especially if you intend on changing many of them.<\/p>\r\n<p>We will use the cPanel UAPI passwd_pop call to change the password.<\/p>\r\n\r\n\r\n\r\n<p><strong>Steps<\/strong><\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li>\u00a0To begin, connect to your server via SSH or Terminal. Ensure you are logged in as root.<\/li>\r\n<li>Run the following command:<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">uapi --user=<em>YourcPanelUsername<\/em> Email passwd_pop email='<em>youremail@example.com<\/em>' password='<em>NewPasswordHere<\/em>'<\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">In order to perform the above command, please change all italicized words and ensure you are logged in as the <em>root<\/em> user via the command-line.<\/p>\r\n\r\n\r\n\r\n<p>That&#8217;s all there is to it.<\/p>\r\n\r\n\r\n\r\n<p>If you are a customer and still have questions about resetting your email account password, please login and open a support ticket in our client portal. We would be happy to answer any questions you may have.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>This knowledgebase provides you with the cPanel command you can use to reset or change a cPanel email account password via SSH or terminal.\u00a0 Using the command-line can oftentimes be a more efficient way of changing passwords. Especially if you intend on changing many of them. We will use the&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[3,20],"ht-kb-tag":[155,153,156,23,154,10,157,158],"class_list":["post-34089","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-account-management","ht_kb_category-cpanel","ht_kb_tag-account","ht_kb_tag-change","ht_kb_tag-command-line","ht_kb_tag-cpanel","ht_kb_tag-email","ht_kb_tag-password","ht_kb_tag-ssh","ht_kb_tag-terminal"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/comments?post=34089"}],"version-history":[{"count":4,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34089\/revisions"}],"predecessor-version":[{"id":34097,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34089\/revisions\/34097"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=34089"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=34089"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=34089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}