{"id":846,"date":"2022-08-19T06:47:58","date_gmt":"2022-08-19T06:47:58","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2022\/08\/19\/6484943-how-to-reset-login-credentials-on-vps-at-hostinger\/"},"modified":"2026-03-16T12:12:06","modified_gmt":"2026-03-16T12:12:06","slug":"6484943-how-to-reset-login-credentials-on-vps-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/6484943-how-to-reset-login-credentials-on-vps-at-hostinger\/","title":{"rendered":"How to Reset Login Credentials on VPS at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">In case you have forgotten your login credentials or have issues accessing your VPS, you can easily reset your admin login credentials. To do that, connect to <b><a href=\"\/support\/5723772-how-to-connect-to-your-vps-via-ssh\" target=\"_blank\" class=\"intercom-content-link\">your VPS via SSH<\/a><\/b> and follow the specific instructions for the OS you&rsquo;re using:<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_ac9b0c4ecb\">CyberPanel<\/h2><p class=\"no-margin\">Once you&rsquo;ve connected to your VPS via SSH, enter the following command, making sure to replace <i>pass<\/i> with the actual password you want to use for the admin account:<\/p><p class=\"no-margin\">\n<\/p><pre><code>\/usr\/bin\/adminPass pass<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">That&rsquo;s all, you have just reset your login credentials! Now you can log in to your CyberPanel control panel. <\/p><p class=\"no-margin\">\n<\/p><hr><h2 id=\"h_96e0945083\">DirectAdmin<\/h2><p class=\"no-margin\">After connecting to your VPS via SSH, enter the following command, making sure to replace <i>pass <\/i>with the actual password you want to use for the admin account:<\/p><p class=\"no-margin\">\n<\/p><pre><code>echo \"admin:pass\" | chpasswd<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">And there you have it! Now you can log in and configure your DirectAdmin control panel.<\/p><p class=\"no-margin\">\n<\/p><hr><h2 id=\"h_7174e31ddf\">HestiaCP<\/h2><p class=\"no-margin\">From the SSH terminal once connected to your VPS, use the following command, making sure to replace <i>pass<\/i> with the actual password you want to use for the admin account:<\/p><p class=\"no-margin\">\n<\/p><pre><code>v-change-user-password admin pass<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">All set! Your new login credentials are in place and you can log in to your HestiaCP control panel. <\/p><p class=\"no-margin\">\n<\/p><hr><p class=\"no-margin\">\n<\/p><h2 id=\"h_d1dca1a1f8\">Game Panel<\/h2><p class=\"no-margin\">Resetting your Game Panel requires a few steps after connecting to your VPS via SSH. First, stop all the running processes with this command:<\/p><p class=\"no-margin\">\n<\/p><pre><code>su - amp -c \"ampinstmgr stop ADS01\"<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Next, set login credentials for the Root Admin account. Make sure that you change <i>user<\/i> to the username you want to use and <i>pass<\/i> to the password you want to use:<\/p><p class=\"no-margin\">\n<\/p><pre><code>su - amp -c \"ampinstmgr resetlogin ADS01 user pass\"<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Finally, start Game Panel processes again:<\/p><p class=\"no-margin\">\n<\/p><pre><code>su - amp -c \"ampinstmgr start ADS01\" <\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">And there you have it. You have reset your Game Panel login credentials using these three commands! Now you can log in and configure your game servers.<\/p><hr><p class=\"no-margin\">\n<\/p><h2 id=\"h_4fc103cbdd\">TightVNC Server<\/h2><p class=\"no-margin\">On the SSH terminal once connected to your VPS, enter the following command:<\/p><p class=\"no-margin\">\n<\/p><pre><code>vncpasswd <\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">It will then prompt you to enter your new password two times &ndash; first to set the new password and the second to confirm it:<\/p><p class=\"no-margin\">\n<\/p><pre><code>$ vncpasswd <br>Password: <br>Verify:<\/code><\/pre><p class=\"no-margin\">That&rsquo;s it, your login credentials are reset now and you can log in to your TightVNC Server control panel. <\/p><hr><p class=\"no-margin\">\n<\/p><h2 id=\"h-vestacp\">VestaCP<\/h2><p class=\"no-margin\">After connecting to your VPS via SSH, enter the following command, making sure to replace <i>pass<\/i> with the actual password you want to use for the admin account:<\/p><p class=\"no-margin\">\n<\/p><pre><code>v-change-user-password admin pass<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">That&rsquo;s it, your login credentials are reset now and you can log in to your VestaCP control panel.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up new admin credentials on different operating systems<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-846","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/6484943-how-to-reset-login-credentials-on-vps-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/6484943-como-restablecer-las-credenciales-de-acceso-en-vps-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/6484943-comment-reinitialiser-les-donnees-de-connexion-sur-un-vps-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/6484943-cara-reset-kredensial-login-akun-vps-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/6484943-como-redefinir-as-credenciais-de-login-no-vps-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/6484943-----vps--hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=846"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/846\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}