{"id":766,"date":"2018-10-15T14:58:05","date_gmt":"2018-10-15T14:58:05","guid":{"rendered":"http:\/\/hyderabadwebhosting.in\/blog\/?p=766"},"modified":"2018-10-15T15:00:14","modified_gmt":"2018-10-15T15:00:14","slug":"reset-cpanel-account-passwords-from-command-line","status":"publish","type":"post","link":"https:\/\/hyderabadwebhosting.in\/blog\/reset-cpanel-account-passwords-from-command-line\/","title":{"rendered":"Reset cPanel Account Passwords from Command Line"},"content":{"rendered":"<p>1.Log into your server via SSH Terminal as the root user.<\/p>\n<p>2.You&#8217;ll need to enable the allow password change option, by exporting it. Type or copy and paste the following command:<\/p>\n<pre class=\"lang:default decode:true\">export ALLOW_PASSWORD_CHANGE=1<\/pre>\n<p>3.Then run the cPanel chpass script with the cPanel account name and new password:<\/p>\n<pre class=\"lang:default decode:true\">\/scripts\/chpass cpanelusername newpassword<\/pre>\n<p>cpanelusername is the cPanel account name and newpassword is the new password being assigned.<\/p>\n<p>4.You&#8217;ll see a &#8216;warning&#8217; and confirmation of the password change.<\/p>\n<pre class=\"lang:default decode:true \">warn [realchpass] Insecure passing of password on ARGV.\r\n\r\nPassword for \u201ccpanelusername\u201d has been changed.<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tfPqExJLUpMSkwpT03KyC8uycxL18vM00\/KyU8HAA==\" \/><input type=\"hidden\" name=\"blogName\" value=\"86hMSS1KTEpMUQhPTVLwyC8uycxLBwA=\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"MzczAwA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"C0otTi1RSA5IzEvNUXBMTs4vzStRCEgsLi7PL0opVkgrys9VcM7PzU3MS1HwycxLBQA=\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"BcHBDcAgCADAiSj\/boNC1UTBAI3p9r3rmTtuxP6xOBXiI6Vb5NB2DcUyraFLSELdpDKBarVXEzZFHHMOeNwWVFuLlGEOFfwB\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"c\/QLDVAICHJ08XD0AwA=\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwtNA1NNA1NFUwNLEyNLAyMAUA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"lVLBahsxEL0b8g+DCzmVNU5LW2xnwbQlKZjGxKahlBK02lmvQDsjJG1c3\/Ih6c\/lSypp146TS9vjaGbee\/OeZiYfZwvegCLPsOPWgkN7hxbulIDV6hLWaBtFQoNw4GsEy+yhDUPZbGTywczkZ9l3bk9ffTgbv59qDYRYQgBDEoXGtCO05i0Y4dyWbQmyFrRBYOMV02sodoC\/DFuvKOjwGax3JnQtSDY7EFTGTd8hVRyh4qDkpgm9Sa\/CIkgdCM6HOoBPSqxEqz2UKLnEibctDvOOBeaLxdXN7XK+Wt1cXX+6\/Xg5\/3rx+XwcgCymg95k6xoJbEuJUy4FoQ6q4wHgpFXGw1b5+rgrpOSWPJBoMGkmfLr4f0SOOgI36vmkifjR8AQdYPeoT4JfzCj3N2WHKPrRY7FQYPQ3VGpDWB5ifvs8ZocBDVL9broVlsJS300skqlSthExY+Aq0bz4Adk\/2wLDPFLAD4tCd8b8hC\/kULa2g42SA8uBIZDOry++ZSeDk8Fy\/1iFT\/V4\/\/Dcrsf731CHz11gyLwTlo7uvT2lwpnp3oSj6g8=\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\"><img src=\"https:\/\/hyderabadwebhosting.in\/blog\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/sheep_32x32.png\" alt=\"www.pdf24.org\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"<p>1.Log into your server via SSH Terminal as the root user. 2.You&#8217;ll need to enable the allow password change option, by exporting it. Type or copy and paste the following command: export ALLOW_PASSWORD_CHANGE=1 3.Then run the cPanel chpass script with the cPanel account name and new password: \/scripts\/chpass cpanelusername newpassword cpanelusername is the cPanel account\u2026 <span class=\"read-more\"><a href=\"https:\/\/hyderabadwebhosting.in\/blog\/reset-cpanel-account-passwords-from-command-line\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":743,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"_links":{"self":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=766"}],"version-history":[{"count":2,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/766\/revisions"}],"predecessor-version":[{"id":768,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/766\/revisions\/768"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media\/743"}],"wp:attachment":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}