{"id":2602,"date":"2011-08-02T16:13:45","date_gmt":"2011-08-02T20:13:45","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/"},"modified":"2011-08-12T05:21:32","modified_gmt":"2011-08-12T09:21:32","slug":"how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/","title":{"rendered":"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications"},"content":{"rendered":"<p>\u00a0For WebLogic server, during domain creation screen you create a user weblogic (this could be any name used during domain creation screen) and set password (<font color=\"#ff0000\">user and password is stored in weblogic&#8217;s embedded LDAP server in hashed format which makes it impossible to decrypt<\/font>)\u00a0. This user (weblogic)\u00a0is then used to login to WebLogic Console and acts as superuser for WebLogic Server including Fusion Middleware\u00a0(FMW) applications like WebCenter, UCM, OBIEE, ODI &#8230;<\/p>\n<p><strong>What if you forgot password for this user after installation ?<\/strong>This post covers steps to create another user in WebLogic domain which will act as super user or create another user with same name (weblogic) with password of your choice.<\/p>\n<p><font color=\"#ff0000\">\u00a0Note: This process will remove all users created in weblogic&#8217;s embedded LDAP server and there will only be one user (which will act as superuser) after doing below steps.<\/font><\/p>\n<p><strong><u>Steps to create another superuser in weblogic<\/u> (when password of existing user is lost)<\/strong><\/p>\n<p><strong>1. <\/strong>Shutdown WebLogic Server (If Running) &#8211; <font color=\"#ff0000\">Optional Step<\/font><\/p>\n<p><strong>2. <\/strong>Login to WebLogic Server and set environment variable<\/p>\n<p>cd $DOMAIN_HOME\/bin\u00a0\u00a0 (<font color=\"#ff0000\">where DOMAIN_HOME is directory in which your domain exists, default value is $MW_HOME\/user_projects\/domain\/base_domain<\/font>)<\/p>\n<p>. .\/setDomainEnv.sh<\/p>\n<p><strong>3.<\/strong> Create a initialization file using command<\/p>\n<p><strong>java weblogic.security.utils.AdminAccount\u00a0&lt;weblogic_username&gt;\u00a0&lt;weblogic_user_password&gt; .<\/strong>\u00a0 (<font color=\"#ff0000\">Note the DOT at end of this command<\/font>)<\/p>\n<p>For Example<\/p>\n<p><strong>java weblogic.security.utils.AdminAccount weblogic welcome1 .<\/strong> (<font color=\"#ff0000\">Note the DOT at end of this command<\/font>)<\/p>\n<p>This will create file\u00a0 <strong>DefaultAuthenticatorInit.ldift<\/strong> in directory from which you executed this command .<\/p>\n<p><strong>4.<\/strong> Move file <strong>DefaultAuthenticatormyrealmInit.ldift<\/strong>\u00a0 from $DOMAIN_HOME\/security\/ and replace it by \u00a0DefaultAuthenticatorInit.ldift generated in step 3<\/p>\n<p><strong>5.<\/strong> Move <strong>data<\/strong> directory under <strong>$DOMAIN_HOME\/servers\/&lt;serverName&gt;\/data<\/strong>to another directory like data.bak (data directory contains files related to embedded LDAP and role mapping file). Replace &lt;serverName&gt; with WebLogic Server like <strong>AdminServer<\/strong> and managed server.<font color=\"#ff0000\"> Repeat this step for all managed servers which are part of this domain. <\/font><\/p>\n<p><font color=\"#ff0000\">This step will remove all existing users\/groups from WebLogic&#8217;s embedded LDAP server (recreate these users\/groups in setp8)<\/font><\/p>\n<p><strong>6.<\/strong>Recreate boot.properites (if any) under <strong>$DOMAIN_HOME\/servers\/&lt;serverName&gt;\/security <\/strong>with username and password created in step 3 above like<br \/>\nUSERNAME=weblogic<br \/>\nPASSWORD=welcome1<\/p>\n<p><strong>7.<\/strong>Start (or restart)\u00a0Admin Server and test if you can login to weblogic console using new username and password.\u00a0<\/p>\n<p><strong>8.<\/strong> Recreate any <strong>users\/groups<\/strong>(which were part of default authenticator prior to new super user creation) or import existing users (from weblogic&#8217;s servers embedded LDAP server backup)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0For WebLogic server, during domain creation screen you create a user weblogic (this could be any name used during domain [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[217],"tags":[],"class_list":["post-2602","post","type-post","status-publish","format-standard","hentry","category-weblogic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications  -<\/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:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications  -\" \/>\n<meta property=\"og:description\" content=\"\u00a0For WebLogic server, during domain creation screen you create a user weblogic (this could be any name used during domain [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-02T20:13:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-08-12T09:21:32+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/\",\"name\":\"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2011-08-02T20:13:45+00:00\",\"dateModified\":\"2011-08-12T09:21:32+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications  -","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:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/","og_locale":"en_US","og_type":"article","og_title":"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications  -","og_description":"\u00a0For WebLogic server, during domain creation screen you create a user weblogic (this could be any name used during domain [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/","article_published_time":"2011-08-02T20:13:45+00:00","article_modified_time":"2011-08-12T09:21:32+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/","url":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/","name":"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2011-08-02T20:13:45+00:00","dateModified":"2011-08-12T09:21:32+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/08\/02\/how-to-reset-lost-oracle-weblogic-password-for-fusion-middleware-applications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"How to reset Lost Oracle WebLogic Password for Fusion Middleware Applications"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=2602"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2602\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=2602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=2602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=2602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}