{"id":588,"date":"2026-08-23T20:54:51","date_gmt":"2026-08-23T19:54:51","guid":{"rendered":"https:\/\/www.simplyhosting.com\/support\/?post_type=ht_kb&#038;p=588"},"modified":"2026-08-23T20:54:51","modified_gmt":"2026-08-23T19:54:51","slug":"how-to-reset-a-one-vps-linux-root-password","status":"publish","type":"ht_kb","link":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/","title":{"rendered":"How to reset a One VPS Linux root password."},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"772\" height=\"974\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg\" alt=\"\" class=\"wp-image-569\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg 772w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1-238x300.jpg 238w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1-768x969.jpg 768w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1-40x50.jpg 40w\" sizes=\"auto, (max-width: 772px) 100vw, 772px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the \u2018VPS\u2019 tab.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"535\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-31.png\" alt=\"\" class=\"wp-image-570\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-31.png 781w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-31-300x206.png 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-31-768x526.png 768w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-31-50x34.png 50w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the server you wish to manage and click on \u2018Manage\u2019.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"717\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2-2026-08-21-111103-2.jpg\" alt=\"\" class=\"wp-image-572\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2-2026-08-21-111103-2.jpg 1025w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2-2026-08-21-111103-2-300x210.jpg 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2-2026-08-21-111103-2-768x537.jpg 768w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2-2026-08-21-111103-2-50x35.jpg 50w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click \u2018Log in to Control Panel\u2019 and select the server from the list displayed.<\/li>\n\n\n\n<li>Nagigate to your rescue options to the bottom right of your VPS console screen and select the Boot into rescue button and select the RescueLinux Option.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"123\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42.png\" alt=\"\" class=\"wp-image-590\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42.png 368w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42-300x100.png 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42-50x17.png 50w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once it has loaded select the first option in the Kernel Labled \u201cboot SystemRescue using default Options\u201d.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-nco-advice-block\"><p class=\"nco-advice-block-content\"><strong>Tip:<\/strong> You may need to refresh the page to see the server loaded into the rescue image if it does not automatically refresh.<\/p><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To reset your password, you need to mount the root, dev, proc, and sys filesystems. Normally, your root partition will be found in \/dev\/vda1, but check to be sure with the command:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"123\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42.png\" alt=\"\" class=\"wp-image-589\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42.png 368w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42-300x100.png 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/image-42-50x17.png 50w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-nco-info-block\"><p class=\"nco-info-block-content\"><strong>Info:<\/strong> From the above you can see that vda1 one disk size matches the 80GB VPS minus the extra partitions. Next we mount that drive so we can alter it by running the following command:<\/p><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>mount\/dev\/vda1\/mnt<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>chroot to the mounted file system:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>chroot \/mnt<\/code><\/pre>\n\n\n\n<div class=\"wp-block-nco-advice-block\"><p class=\"nco-advice-block-content\"><strong>Tip:<\/strong> The chroot command stands for \u201cchange root\u201d and allows us to update\/change the root directory and child processes.<\/p><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the commands to update the password of the root user:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-nco-info-block\"><p class=\"nco-info-block-content\"><strong>Info:<\/strong> You will be prompted to enter a new password and a second prompt to confirm the new password, Both of these have to match to make the change. Once you get the \u201cpasswd: password updated successfully post on the command line. We will then confirm the change and write to the disk with the following command:<\/p><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>Touch \/.autorelabel<\/code><\/pre>\n\n\n\n<p>The password is updated.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exit\numount \/mnt<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the 3 \u2026 at the top right corner of our VPS console and select the restart option to load the VPS out of rescue mode and back to its normal operating system.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-nco-info-block\"><p class=\"nco-info-block-content\"><strong>Info:<\/strong> The root password should be set to the new password and you should be able to login, If you have any further issues please raise a support ticket via your customer portal in the support section.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The password is updated.<\/p>\n","protected":false},"author":6,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"ht-kb-category":[6,24],"ht-kb-tag":[46,57,50],"class_list":["post-588","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-vps-cloud","ht_kb_category-control-panel-os","ht_kb_tag-linux","ht_kb_tag-password","ht_kb_tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers<\/title>\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.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"og:description\" content=\"The password is updated.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"772\" \/>\n\t<meta property=\"og:image:height\" content=\"974\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/\",\"url\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/\",\"name\":\"How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot-2026-08-21-110708-1.jpg\",\"datePublished\":\"2026-08-23T19:54:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot-2026-08-21-110708-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Screenshot-2026-08-21-110708-1.jpg\",\"width\":772,\"height\":974},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/articles\\\/how-to-reset-a-one-vps-linux-root-password\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reset a One VPS Linux root password.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/\",\"name\":\"Support Centre - Simply Hosting &amp; Servers\",\"description\":\"Simply Hosting &amp; Servers Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.simplyhosting.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers","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.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/","og_locale":"en_GB","og_type":"article","og_title":"How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers","og_description":"The password is updated.","og_url":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/","og_site_name":"Support Centre - Simply Hosting &amp; Servers","og_image":[{"width":772,"height":974,"url":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/","url":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/","name":"How to reset a One VPS Linux root password. - Support Centre - Simply Hosting &amp; Servers","isPartOf":{"@id":"https:\/\/www.simplyhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/#primaryimage"},"image":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg","datePublished":"2026-08-23T19:54:51+00:00","breadcrumb":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/#primaryimage","url":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg","contentUrl":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-21-110708-1.jpg","width":772,"height":974},{"@type":"BreadcrumbList","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/how-to-reset-a-one-vps-linux-root-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simplyhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to reset a One VPS Linux root password."}]},{"@type":"WebSite","@id":"https:\/\/www.simplyhosting.com\/support\/#website","url":"https:\/\/www.simplyhosting.com\/support\/","name":"Support Centre - Simply Hosting &amp; Servers","description":"Simply Hosting &amp; Servers Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.simplyhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/comments?post=588"}],"version-history":[{"count":1,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/588\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/588\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/media?parent=588"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=588"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}