{"id":15066,"date":"2024-10-15T06:37:29","date_gmt":"2024-10-15T06:37:29","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=15066"},"modified":"2024-10-15T06:51:20","modified_gmt":"2024-10-15T06:51:20","password":"","slug":"how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/","title":{"rendered":"How to disable Two-Factor Authentication (2FA) on Cyberpanel login."},"content":{"rendered":"\n<p>Sometimes you may be trying to access Cyberpanel but into a screen that asks you to input a Two-Factor Authentication (2FA),  which you have never set and yet you do not know where to get. Well, you can as well disable it. Please be guided below;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Prerequisites:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>SSH Access<\/strong> to the server running CyberPanel.<\/li>\n\n\n\n<li><strong>Root or Sudo Privileges<\/strong> for performing administrative tasks on the server.<\/li>\n<\/ul>\n\n\n\n<p><strong>Step<\/strong> 1: <strong>Connect to the Server via SSH<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Connect to your server using SSH. If you do not know how to, refer <strong><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-a-server-via-ssh-terminal\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Step 2: Enter the MySQL Command Line<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once logged into your server, use the following command to retrieve the MySQL root password stored by CyberPanel and log into MySQL as the root user:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>MYSQL_PWD=`cat \/etc\/cyberpanel\/mysqlPassword` mysql -uroot<\/strong><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"204\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png\" alt=\"\" class=\"wp-image-15067\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png 837w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285-300x73.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285-768x187.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: Switch to the CyberPanel Database<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To start interacting with CyberPanel\u2019s database, enter the following command:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>USE cyberpanel;<\/strong><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You should see a message indicating the database has been changed.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"106\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-286.png\" alt=\"\" class=\"wp-image-15070\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-286.png 677w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-286-300x47.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p><strong>Step 4: Disable 2FA for the Admin Account<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To disable 2FA for the admin account, execute the following SQL command:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>UPDATE `loginSystem_administrator` SET `twoFA` = '0' WHERE `loginSystem_administrator`.`id` = 1;<\/strong><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You will see a success message such as the one in the image below<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"86\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-287.png\" alt=\"\" class=\"wp-image-15071\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-287.png 1015w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-287-300x25.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-287-768x65.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Even if no rows were changed, the command will still disable 2FA for the admin account as long as the matched rows is greater than 0.<\/li>\n<\/ul>\n\n\n\n<p><strong>Step 5 : Clear Browser Cache then Log Back into CyberPanel<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Before attempting to log back into CyberPanel, clear your browser cache. This will ensure that any cached 2FA login requests are removed.<\/li>\n\n\n\n<li>Now try to <strong><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">access your CyberPanel<\/a><\/strong> login page using the admin credentials. Two-Factor Authentication should no longer be required.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you may be trying to access Cyberpanel but into a screen that asks you to input a Two-Factor Authentication (2FA), which you have never set and yet you do not know where to get. Well, you can as well disable it. Please be guided below; Prerequisites: Step 1: Connect to the Server via SSH [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,2121,1824,1879,2128],"doc_tag":[],"class_list":["post-15066","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-cyberpanel","doc_category-dedicated-servers","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-07","word_count":276,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"Cyberpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cyberpanel\/"},{"term_name":"dedicated servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/dedicated-servers\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -<\/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:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -\" \/>\n<meta property=\"og:description\" content=\"Sometimes you may be trying to access Cyberpanel but into a screen that asks you to input a Two-Factor Authentication (2FA), which you have never set and yet you do not know where to get. Well, you can as well disable it. Please be guided below; Prerequisites: Step 1: Connect to the Server via SSH [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-15T06:51:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. 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:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/\",\"name\":\"How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-285.png\",\"datePublished\":\"2024-10-15T06:37:29+00:00\",\"dateModified\":\"2024-10-15T06:51:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-285.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-285.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to disable Two-Factor Authentication (2FA) on Cyberpanel login.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -","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:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/","og_locale":"en_US","og_type":"article","og_title":"How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -","og_description":"Sometimes you may be trying to access Cyberpanel but into a screen that asks you to input a Two-Factor Authentication (2FA), which you have never set and yet you do not know where to get. Well, you can as well disable it. Please be guided below; Prerequisites: Step 1: Connect to the Server via SSH [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/","article_modified_time":"2024-10-15T06:51:20+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/","name":"How to disable Two-Factor Authentication (2FA) on Cyberpanel login. -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png","datePublished":"2024-10-15T06:37:29+00:00","dateModified":"2024-10-15T06:51:20+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-285.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-two-factor-authentication-2fa-on-cyberpanel-login\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to disable Two-Factor Authentication (2FA) on Cyberpanel login."}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=15066"}],"version-history":[{"count":2,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15066\/revisions"}],"predecessor-version":[{"id":15072,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/15066\/revisions\/15072"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=15066"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=15066"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=15066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}