{"id":16431,"date":"2024-05-21T06:24:43","date_gmt":"2024-05-21T06:24:43","guid":{"rendered":"https:\/\/hostvento.com\/kb\/web-hosting\/getting-started-guide\/shared-hosting-quick-start-guide\/how-to-change-password-for-admin-account-of-directadmin\/"},"modified":"2024-06-15T03:29:28","modified_gmt":"2024-06-15T03:29:28","slug":"how-to-change-password-for-admin-account-of-directadmin","status":"publish","type":"docs","link":"https:\/\/www.hostvento.com\/kb\/docs\/hosting-faqs\/how-to-change-password-for-admin-account-of-directadmin\/","title":{"rendered":"How to Change Password for Admin Account \ufeffof DirectAdmin"},"content":{"rendered":"\n<p>The most important aspect of your server security is the password you use for your DirectAdmin admin account. It is anticipated that you will not misplace, distribute, or overlook it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">To Find the Password for&nbsp;Admin Account<\/h2>\n\n\n\n<p>In case you forgot the admin password, you can always find it here:<\/p>\n\n\n\n<p><strong>\/var\/log\/directadmin\/install.log<\/strong><\/p>\n\n\n\n<p>The section where you will spot the password will look like this:<br>The following information has been set:<\/p>\n\n\n\n<p>Admin username: admin<br>Admin password: c0pr7hwvt8f-<br>Admin email: admin@yourdomain.com<\/p>\n\n\n\n<p>If you use the command line, the command to display this info is:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cat \/var\/log\/directadmin\/install.log | grep Admin\n<\/pre>\n\n\n\n<p><strong>Note<\/strong>: The password you will find this way is actually the one you get after the DirectAdmin installation. It will only be valid if you have not changed it.<br>However, if you\u00a0forget the password after changing it from the one you got from installation, you will have to reset it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">To Reset\/Change the Password<\/h2>\n\n\n\n<p>Access your server as root and enter this line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">passwd admin<\/pre>\n\n\n\n<p>It will allow you to set a new password.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@test ~]# passwd admin\nchanging password for user admin.\nNew password:\nRetype new password:\n\npasswd: all authentication tokens updated successfully.<\/pre>\n\n\n\n<p>With it, DirectAdmin will accept the password you entered and set it for your admin account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The most important aspect of your server security is the password you use for your DirectAdmin admin account. It is anticipated that you will not misplace, distribute, or overlook it. To Find the Password for&nbsp;Admin Account In case you forgot the admin password, you can always find it here: \/var\/log\/directadmin\/install.log The section where you will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23377,"menu_order":1053,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-16431","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/comments?post=16431"}],"version-history":[{"count":2,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16431\/revisions"}],"predecessor-version":[{"id":16433,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16431\/revisions\/16433"}],"up":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/23377"}],"wp:attachment":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/media?parent=16431"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=16431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}