{"id":13864,"date":"2024-08-30T11:08:02","date_gmt":"2024-08-30T11:08:02","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=13864"},"modified":"2024-09-02T11:53:02","modified_gmt":"2024-09-02T11:53:02","password":"","slug":"how-disable-2fa-cyberpanel","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/","title":{"rendered":"How to disable 2FA cyberpanel"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"455\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.png\" alt=\"\" class=\"wp-image-13865\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.png 437w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43-288x300.png 288w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Follow the steps below.<\/p>\n\n\n\n<p>Access your database by typing either <\/p>\n\n\n\n<p>mysql or mariadb<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"197\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-44.png\" alt=\"\" class=\"wp-image-13866\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-44.png 690w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-44-300x86.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p>Now we&#8217;re on our database shell.<\/p>\n\n\n\n<p>The next operation will require we use cyberpanel database.  To enter, \u00a0CyberPanel database, use the command:<\/p>\n\n\n\n<p>use cyberpanel;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"133\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-45.png\" alt=\"\" class=\"wp-image-13867\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-45.png 604w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-45-300x66.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now disable 2FA for the admin account with the following command:<\/p>\n\n\n\n<p><code>UPDATE loginSystem_administrator SET twoFA = '0' WHERE loginSystem_administrator.id = 1;<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"112\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-46.png\" alt=\"\" class=\"wp-image-13868\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-46.png 984w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-46-300x34.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-46-768x87.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it. All done. <\/p>\n\n\n\n<p>Alternatively, you can use the one line command below.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><code>mysql -u root -p\"$(cat \/etc\/cyberpanel\/mysqlPassword)\" cyberpanel -e \"UPDATE loginSystem_administrator SET twoFA = '0' WHERE loginSystem_administrator.id = 1;\"<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>You can now login.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"487\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-47.png\" alt=\"\" class=\"wp-image-13869\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-47.png 481w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-47-296x300.png 296w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings. Follow the steps below. Access your database by typing either mysql or mariadb Now we&#8217;re on our database shell. The next operation will require we use cyberpanel database. To enter, [&hellip;]<\/p>\n","protected":false},"author":24,"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":[2121],"doc_tag":[],"class_list":["post-13864","docs","type-docs","status-publish","hentry","doc_category-cyberpanel"],"year_month":"2026-07","word_count":121,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Kibera","author_nicename":"dan-k","author_url":"https:\/\/truehost.com\/support\/author\/dan-k\/"},"doc_category_info":[{"term_name":"Cyberpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cyberpanel\/"}],"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 2FA cyberpanel -<\/title>\n<meta name=\"description\" content=\"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.\" \/>\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-disable-2fa-cyberpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable 2FA cyberpanel -\" \/>\n<meta property=\"og:description\" content=\"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T11:53:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.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-disable-2fa-cyberpanel\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/\",\"name\":\"How to disable 2FA cyberpanel -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image-43.png\",\"datePublished\":\"2024-08-30T11:08:02+00:00\",\"dateModified\":\"2024-09-02T11:53:02+00:00\",\"description\":\"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image-43.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/image-43.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-disable-2fa-cyberpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to disable 2FA cyberpanel\"}]},{\"@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 2FA cyberpanel -","description":"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.","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-disable-2fa-cyberpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to disable 2FA cyberpanel -","og_description":"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/","article_modified_time":"2024-09-02T11:53:02+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.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-disable-2fa-cyberpanel\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/","name":"How to disable 2FA cyberpanel -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.png","datePublished":"2024-08-30T11:08:02+00:00","dateModified":"2024-09-02T11:53:02+00:00","description":"To disable Google 2FA on cyberpanel, you will need to login to the server via SSH , access the database and update the 2FA settings.","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/08\/image-43.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-disable-2fa-cyberpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to disable 2FA cyberpanel"}]},{"@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\/13864","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\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=13864"}],"version-history":[{"count":2,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/13864\/revisions"}],"predecessor-version":[{"id":13872,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/13864\/revisions\/13872"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=13864"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=13864"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=13864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}