{"id":17449,"date":"2023-12-04T11:03:00","date_gmt":"2023-12-04T04:03:00","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=17449"},"modified":"2023-12-04T11:03:00","modified_gmt":"2023-12-04T04:03:00","slug":"cach-doi-mat-khau-vps","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/","title":{"rendered":"How to change VPS password"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">When renting a virtual server (VPS), the provider will give you server administration login information including login name and password. However, to protect data, the first thing you should do is change the VPS password. In this article, Gimasys will guide you through the detailed steps <\/span><b>How to change VPS password<\/b><span style=\"font-weight: 400;\"> Use Windows and Linux operating systems.<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Bao_mat_VPS\" >VPS security<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Doi_Mat_Khau_VPS_Windows\" >Change Windows VPS Password<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Cach_1_Doi_Mat_Khau_May_Chu_VPS_Windows_thong_qua_tai_khoan_quan_tri\" >Method 1: Change Windows VPS Server Password through the administrator account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Cach_2_Doi_Mat_Khau_May_Chu_VPS_Windows_qua_Command_Line_CMD\" >Method 2: Change Windows VPS Server Password via Command Line (CMD)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Doi_Mat_Khau_VPS_Linux\" >Change Linux VPS Password<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Doi_Mat_Khau_May_Chu_VPS_Linux_Cho_Tai_Khoan_Root\" >Change Linux VPS Server Password for Root Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Doi_Mat_Khau_May_Chu_VPS_Linux_Cho_User_thuong\" >Change Linux VPS Server Password For Regular Users<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/cach-doi-mat-khau-vps\/#Tong_ket\" >In conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Bao_mat_VPS\"><\/span><b>VPS security<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">While no server is invincible against hackers, a VPS system is one of the safest options. Because each VPS instance is a separate, independent, virtualized environment, it becomes like a physical server in that your files, software, and operating system are isolated from the others.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, changing your password regularly is still extremely necessary to protect your system from unnecessary risks.<\/span><\/p>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17441 size-full\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-2.jpg\" alt=\"\" width=\"600\" height=\"375\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-2.jpg 600w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-2-18x12.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Doi_Mat_Khau_VPS_Windows\"><\/span><b>Change Windows VPS Password<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Cach_1_Doi_Mat_Khau_May_Chu_VPS_Windows_thong_qua_tai_khoan_quan_tri\"><\/span><b>Method 1: Change Windows VPS Server Password through the administrator account<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">We will show you how to change the Windows VPS server password in the Windows 2012 operating system example. You can also change the Windows VPS server password on other operating systems in a similar way.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Access the virtual server, press the Start button, type \u201caccount\u201d in the search box and press Enter.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A new window will appear, click &quot;Manage another account&quot;.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select the \u201cAdministrator\u201d account.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select \u201cChange the password\u201d in the new window that appears.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter the old password in the &quot;Current password&quot; box, in the &quot;New password&quot; box, enter the new password and click &quot;Confirm new password&quot;. Click \u201cChange password\u201d to complete.<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Cach_2_Doi_Mat_Khau_May_Chu_VPS_Windows_qua_Command_Line_CMD\"><\/span><b>Method 2: Change Windows VPS Server Password via Command Line (CMD)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Press the Start button, enter CMD to open the CMD or Windows Power Shell interface.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the command: C:\\Users\\Administrator&gt; net user administrator passmoi to change the password of the administrator account. In there\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">administrator is your account name in Windows VPS Server<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">passmoi is the new password you want to set<\/span><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17442 size-full\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-1.jpg\" alt=\"\" width=\"600\" height=\"353\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-1.jpg 600w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-1-18x12.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Doi_Mat_Khau_VPS_Linux\"><\/span><b>Change Linux VPS Password<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Doi_Mat_Khau_May_Chu_VPS_Linux_Cho_Tai_Khoan_Root\"><\/span><b>Change Linux VPS Server Password for Root Account<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Log in to the CMD or SSH console with the command:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">sudo passwd root\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Note: \u201cRoot\u201d is the name of the main account on VPS. If you want to change the password for your account, use the following command in terminal:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">passwd<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After entering this command, the screen will ask you to enter a new password in the &quot;New password&quot; line. Because Linux does not display the password when entering to ensure security, you should be careful when typing to avoid errors. One tip is to enter the password into a separate Word file, then copy and paste into a CMD or SSH window.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Next, you will need to re-enter the new password in the &quot;Retype new password&quot; line to confirm. Make sure you type the correct password the first time to avoid not being able to access the VPS server&#039;s administrative account.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Doi_Mat_Khau_May_Chu_VPS_Linux_Cho_User_thuong\"><\/span><b>Change Linux VPS Server Password For Regular Users<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">If you are the owner of the Root account and want to change the password for another account, access the CMD or SSH control panel.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter the command sudo passwd userName<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Note: When you want to change the VPS password for a specific account, you need to replace &quot;userName&quot; in the command with the name of that account. Make sure this account has been created on the VPS Server, because Linux only allows changing passwords for users that already exist in the system. After entering the change command, you will enter the new password in the &quot;New password&quot; field, then re-enter that password in the &quot;Retype new password&quot; field to complete the password update process.<\/span><\/p>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17443\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password.jpg\" alt=\"\" width=\"600\" height=\"264\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password.jpg 601w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2023\/12\/vps-password-18x8.jpg 18w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/b><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Tong_ket\"><\/span><b>In conclusion<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The above is <\/span><b>How to change VPS password<\/b><span style=\"font-weight: 400;\"> helps increase the security of your data and system administration. If you need more information or more detailed support in VPS server management and security, don&#039;t hesitate to contact Gimasys. We will provide professional support and help you optimize your server system.<\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<div class=\"templatera_shortcode\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"vc_message_box vc_message_box-standard vc_message_box-rounded vc_color-blue\" ><div class=\"vc_message_box-icon\"><i class=\"vc-mono vc-mono-technorati\"><\/i><\/div><p><a href=\"https:\/\/gcloudvn.com\/en\/main-logo-1\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-664\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1.png\" alt=\"\" width=\"221\" height=\"72\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1.png 214w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1-18x6.png 18w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2021\/06\/main-logo-1-183x60.png 183w\" sizes=\"auto, (max-width: 221px) 100vw, 221px\" \/><\/a>As a senior partner of Google in Vietnam, Gimasys has more than 10+ years of experience, consulting on implementing digital transformation for 2000+ domestic corporations. Some typical customers Jetstar, Dien Quan Media, Heineken, Jollibee, Vietnam Airline, HSC, SSI...<\/p>\n<p>Gimasys is currently a strategic partner of many major technology companies in the world such as Salesforce, Oracle Netsuite, Tableau, Mulesoft.<\/p>\n<p>Contact Gimasys - Google Cloud Premier Partner for advice on strategic solutions suitable to the specific needs of your business:<\/p>\n<ul>\n<li>Email: gcp@gimasys.com<\/li>\n<li>Hotline: 0974 417 099<\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n<\/section>","protected":false},"excerpt":{"rendered":"Khi thu\u00ea m\u00e1y ch\u1ee7 \u1ea3o (VPS), nh\u00e0 cung c\u1ea5p s\u1ebd c\u1ea5p cho b\u1ea1n c\u00e1c th\u00f4ng tin \u0111\u0103ng nh\u1eadp qu\u1ea3n tr\u1ecb m\u00e1y ch\u1ee7 bao g\u1ed3m t\u00ean \u0111\u0103ng nh\u1eadp v\u00e0 m\u1eadt kh\u1ea9u. Tuy nhi\u00ean, \u0111\u1ec3 b\u1ea3o v\u1ec7 d\u1eef li\u1ec7u, vi\u1ec7c \u0111\u1ea7u ti\u00ean&hellip;","protected":false},"author":2,"featured_media":17441,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/17449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=17449"}],"version-history":[{"count":0,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/17449\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/17441"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=17449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=17449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=17449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}