{"id":217,"date":"2022-02-09T18:15:03","date_gmt":"2022-02-09T18:15:03","guid":{"rendered":"https:\/\/www.simplyhosting.com\/support\/?post_type=ht_kb&#038;p=217"},"modified":"2022-02-16T10:19:53","modified_gmt":"2022-02-16T10:19:53","slug":"changing-your-root-password-on-a-debian-server","status":"publish","type":"ht_kb","link":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/","title":{"rendered":"Changing your root password on a Debian server:"},"content":{"rendered":"\n<p>You can change your root password on your Debian server via SSH with some simple commands;<\/p>\n\n\n\n<p>1. First of all, log in to the server via SSH.<br>2. When logged in, if you are <strong>using the root user<\/strong> you just need to type:<br><strong>sudo passwd root<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"186\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png\" alt=\"\" class=\"wp-image-218\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png 562w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-300x99.png 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-50x17.png 50w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/figure><\/div>\n\n\n\n<p>If you already have root permissions, you will <strong>not<\/strong> need to type \u2018sudo\u2019. You can also change the \u2018root\u2019 to be a different user if you\u2019ve set one up. If you type <strong>&#8220;passwd&#8221;<\/strong> alone, it will change the password for your current user. Here\u2019s an example of a root user changing their own password with a shorter command:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"178\" src=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-root.png\" alt=\"\" class=\"wp-image-220\" srcset=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-root.png 550w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-root-300x97.png 300w, https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh-root-50x16.png 50w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"get-in-touch\"><strong>Get in touch<\/strong><\/h2>\n\n\n\n<p>If you need advice on Debian, we\u2019re here to help.<\/p>\n\n\n\n<p><strong>Call us on 0333 247 0222: <\/strong>Monday &#8211; Friday, 9am \u2013 5.30pm.<\/p>\n\n\n\n<p id=\"chat-to-us-on-livechat-monday-friday-9am-5-30pm\"><strong>Chat <strong>with<\/strong> us on LiveChat:<\/strong> Monday &#8211; Friday, 9am &#8211; 5.30pm.<\/p>\n\n\n\n<p id=\"write-to-us-send-us-a-support-ticket-from-your-simply-portal-and-we-ll-get-back-to-you-as-soon-as-we-can-https-portal-simplyhosting-com-site-login\"><strong>Write to us:<\/strong> Send us a support ticket from your <a href=\"https:\/\/portal.simplyhosting.com\/site\/login\/\">Simply portal<\/a> and we\u2019ll get back to you as soon as we can. <\/p>\n\n\n\n<p>If you don\u2019t have an account with Simply Hosting yet, you can also send our <a href=\"https:\/\/www.simplyhosting.com\/info\/contact-us\">Sales team<\/a> an enquiry and we&#8217;ll get back to you between <strong>9am<\/strong> and <strong>5.30pm<\/strong>, <strong>Monday<\/strong> to <strong>Friday<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can change your root password on your Debian server via SSH with some simple commands; 1. First of all, log in to the server via SSH.2. When logged in, if you are using the root user you just need to type:sudo passwd root If you already have root permissions, you will not need to [&hellip;]<\/p>\n","protected":false},"author":10,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[24,20],"ht-kb-tag":[34,57],"class_list":["post-217","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-control-panel-os","ht_kb_category-ssl-security","ht_kb_tag-debian","ht_kb_tag-password"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers<\/title>\n<meta name=\"description\" content=\"How to change your root password on a Debian server - Simplyhosting.com\" \/>\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\/changing-your-root-password-on-a-debian-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"og:description\" content=\"How to change your root password on a Debian server - Simplyhosting.com\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-16T10:19:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png\" \/>\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=\"2 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\/changing-your-root-password-on-a-debian-server\/\",\"url\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/\",\"name\":\"Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers\",\"isPartOf\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png\",\"datePublished\":\"2022-02-09T18:15:03+00:00\",\"dateModified\":\"2022-02-16T10:19:53+00:00\",\"description\":\"How to change your root password on a Debian server - Simplyhosting.com\",\"breadcrumb\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage\",\"url\":\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png\",\"contentUrl\":\"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png\",\"width\":562,\"height\":186},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.simplyhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changing your root password on a Debian server:\"}]},{\"@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":"Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers","description":"How to change your root password on a Debian server - Simplyhosting.com","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\/changing-your-root-password-on-a-debian-server\/","og_locale":"en_GB","og_type":"article","og_title":"Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers","og_description":"How to change your root password on a Debian server - Simplyhosting.com","og_url":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/","og_site_name":"Support Centre - Simply Hosting &amp; Servers","article_modified_time":"2022-02-16T10:19:53+00:00","og_image":[{"url":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/","url":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/","name":"Changing your root password on a Debian server: - Support Centre - Simply Hosting &amp; Servers","isPartOf":{"@id":"https:\/\/www.simplyhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage"},"image":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png","datePublished":"2022-02-09T18:15:03+00:00","dateModified":"2022-02-16T10:19:53+00:00","description":"How to change your root password on a Debian server - Simplyhosting.com","breadcrumb":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#primaryimage","url":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png","contentUrl":"https:\/\/www.simplyhosting.com\/support\/wp-content\/uploads\/2022\/02\/debian-password-change-ssh.png","width":562,"height":186},{"@type":"BreadcrumbList","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/changing-your-root-password-on-a-debian-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simplyhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Changing your root password on a Debian server:"}]},{"@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\/217","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":3,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/217\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/217\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=217"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}