{"id":3781,"date":"2013-05-22T07:43:48","date_gmt":"2013-05-22T07:43:48","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=3781"},"modified":"2026-02-26T14:04:32","modified_gmt":"2026-02-26T14:04:32","slug":"how-to-reset-the-plesk-admin-password-through-shell","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/","title":{"rendered":"How To Reset The Plesk Admin Password Through Shell?"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">Passwords are usually case-sensitive. If a user doesn\u2019t remember a password, he might face a really bad situation<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Follow the process mentioned below in order to reset the Plesk root password using Shell and Command Prompt<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>The procedure of resetting the Plesk (Linux Server) root password through Shell:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">[root@plesklinux root]# cd \/usr\/local\/psa\/admin\/bin<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em id=\"__mceDel\">[root@plesklinux bin]# .\/ch_admin_passwd \u2014help<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><\/em><\/em><\/em>.\/ch_admin_passwd: Utility for setting the Plesk administrator\u2019s password<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\">This fetches password from the environment variable PSA_PASSWORD<\/em><\/em><\/em><\/em><\/em><\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><\/em><\/em><\/em><\/em><\/em><\/em><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\"><em id=\"__mceDel\">The password must consist of symbols ranging from 5-16 and it is important to avoid using the login name, quotes, national characters or whitespace.<\/em><\/em><\/em><\/em><\/em><\/em><\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]# export PSA_PASSWORD=\u2019newpass\u2019<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]# echo $PSA_PASSWORD<\/em><br \/><em>newpass<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]# .\/ch_admin_passwd<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]# export PSA_PASSWORD=<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]# cat \/etc\/psa\/.psa.shadow<\/em><br \/><em>newpass<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>[root@plesklinux bin]#<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>The procedure of resetting the Plesk (Windows Server) root password through Shell:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The Plesk Windows Root Password can also be reset through the plesksrvclient binary that is located in the %plesk_bin% directory.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">For this, go to the Windows command prompt, enter the following command, and hit enter:<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>cd %plesk_bin%<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This command will take you to the directory where the Plesk Bin Folder is situated.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>In order to get the existing root password, enter the command mentioned below:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>plesksrvclient.exe \u2013get<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The existing password will be displayed in a pop up window. In order to copy it on the clipboard, click on the \u2018OK\u2019 button<br \/>In order to create a new password, enter the command given above without \u2018-get\u2019<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>plesksrvclient.exe &lt;NEWPASS&gt;<\/em><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This command will enable you to add a new desired password for the Plesk Admin account. You can learn <a href=\"https:\/\/www.bodhost.com\/kb\/how-to-configure-password-strength-for-users-in-whm\/\" target=\"_blank\" rel=\"noopener\">How to Configure Password Strength for Users in WHM<\/a>, ensuring robust protection against unauthorized access.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Passwords are usually case-sensitive. If a user doesn\u2019t remember a password, he might face a really bad situation Follow the process mentioned below in order to reset the Plesk root&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[370],"tags":[373,301,218,478],"class_list":["post-3781","post","type-post","status-publish","format-standard","hentry","category-control-panels","tag-linux-server","tag-plesk","tag-web-hosting","tag-windows-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Reset The Plesk Admin Password Through Shell - bodHOST<\/title>\n<meta name=\"description\" content=\"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Reset The Plesk Admin Password Through Shell - bodHOST\" \/>\n<meta property=\"og:description\" content=\"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-22T07:43:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:32+00:00\" \/>\n<meta name=\"author\" content=\"Juliane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juliane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/\"},\"author\":{\"name\":\"Juliane\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f7683f9b95ba2e9e49a6b97716ec69a4\"},\"headline\":\"How To Reset The Plesk Admin Password Through Shell?\",\"datePublished\":\"2013-05-22T07:43:48+00:00\",\"dateModified\":\"2026-02-26T14:04:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/\"},\"wordCount\":314,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Linux Server\",\"Plesk\",\"web hosting\",\"Windows server\"],\"articleSection\":[\"Control Panels\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/\",\"name\":\"How To Reset The Plesk Admin Password Through Shell - bodHOST\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2013-05-22T07:43:48+00:00\",\"dateModified\":\"2026-02-26T14:04:32+00:00\",\"description\":\"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-reset-the-plesk-admin-password-through-shell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Control Panels\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/control-panels\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Reset The Plesk Admin Password Through Shell?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f7683f9b95ba2e9e49a6b97716ec69a4\",\"name\":\"Juliane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"caption\":\"Juliane\"},\"sameAs\":[\"http:\\\/\\\/jonathan\"],\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/juliane\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Reset The Plesk Admin Password Through Shell - bodHOST","description":"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/","og_locale":"en_US","og_type":"article","og_title":"How To Reset The Plesk Admin Password Through Shell - bodHOST","og_description":"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2013-05-22T07:43:48+00:00","article_modified_time":"2026-02-26T14:04:32+00:00","author":"Juliane","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juliane","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/"},"author":{"name":"Juliane","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f7683f9b95ba2e9e49a6b97716ec69a4"},"headline":"How To Reset The Plesk Admin Password Through Shell?","datePublished":"2013-05-22T07:43:48+00:00","dateModified":"2026-02-26T14:04:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/"},"wordCount":314,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Linux Server","Plesk","web hosting","Windows server"],"articleSection":["Control Panels"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/","name":"How To Reset The Plesk Admin Password Through Shell - bodHOST","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2013-05-22T07:43:48+00:00","dateModified":"2026-02-26T14:04:32+00:00","description":"In this article you will learn about How To Reset The Plesk Admin Password Through Shell?","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-reset-the-plesk-admin-password-through-shell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Control Panels","item":"https:\/\/www.bodhost.com\/kb\/category\/control-panels\/"},{"@type":"ListItem","position":2,"name":"How To Reset The Plesk Admin Password Through Shell?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f7683f9b95ba2e9e49a6b97716ec69a4","name":"Juliane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","caption":"Juliane"},"sameAs":["http:\/\/jonathan"],"url":"https:\/\/www.bodhost.com\/kb\/author\/juliane\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=3781"}],"version-history":[{"count":7,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3781\/revisions"}],"predecessor-version":[{"id":13028,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3781\/revisions\/13028"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=3781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=3781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}