This content has been marked as final. Show 8 replies
There is no way in the console to "rename" an existing user. So if you are asking how to change the "weblogic" account to some other name, the answer is you can - and SHOULD - instead create additional administrator accounts.
Create unique accounts for each of your administrators, and don't login with the "weblogic" account. Allow the "weblogic" account to remain for the Managed Server startup user name, unless you are also going to change the various nodemanager boot.properties files which have the account & password encrypted. Siimpler for you to just create new accounts.
If you are asking this because your security realm only has 1 user ( weblogic ) and you have forgotten the password and can no longer login, then you can rebuild your domain and learn from your experience.
Thanks for the reply.But my concern is I want to change the username (weblogic) and password (xxxx) of admin console instead of creating another admin account.
If you want to Reset The WebLogic Username and Password then Please follow the Steps mentioned Below...(EXACTLY):
Step1). open a Command Prompt and then run "setDomainEnv.sh" or "setDomainEnv.cmd".
Step2). Just for Safety Take a Backup of (C:\bea103\user_projects\domains\7001_Domain\security\*DefaultAuthenticatorInit.ldift*) file ...because in the Next Command which we are going to run is going to Create a New File "DefaultAuthenticatorInit.ldift".
Step3). In the Command Window Move inside your Domain's Security Directory...And then Run the Following Command:
Example: C:\bea103\user_projects\domains\7001_Domain\security>java weblogic.security.utils.AdminAccount newAdmin newPassword .
Syntax: java weblogic.security.utils.AdminAccount <NewAdminUserName> <NewAdminPassword>
NOTE:- There is a . (DOT) at the end of the Above command which represents the Current Directory. Here you can see that after this command Executes A new "DefaultAuthenticatorInit.ldift" file will be created in the Current Directory.
Step 4). In the Same command prompt Move inside the admin Server folder inside your domain. And then Just remname the "data" folder to something else ....like "data_OLD" this is a way of taking safe backup....
Example: C:\bea103\user_projects\domains\7001_Domain\servers\AdminServer> rename data data_OLD
Step 5). Now Similarly rename the boot.properties as well to an other File....
Example: C:\bea103\user_projects\domains\7001_Domain\servers\AdminServer\security> rename boot.properties boot.properties_OLD
Step 6). Now start The Admin Server....
While starting it will ask for the UserName and Password to be entered as ..we havenot created any "*boot.properties*" file at present.
------------> At the End Login to Admin Console with the New Useraname and Password-----> Check the Users in Security realms ...you will not find any user with name "weblogic" There....
http://jaysensharma.wordpress.com (WebLogic Wonders..With Example)
Hi Jay SenSharma,
thanks for your help.
Your step by step procedure is too good for us.
Always make a backup of your LDAP directory.
sorry for that. I don't know that step. Thanks for the correction.
Edited by: user11140631 on Dec 18, 2009 12:37 AM
Correct Steps : Please follow....Missing Steps are Included here...