How do i restore/reset Admin console password

Hi
Here is the scenario
1. i install a new Sun Directory Server 5.2 in my development Server ( Solaris 10 )
2. i set admin/password for my admin console password
3. i backup the data from UAT server using
- ./saveconfig
- ./db2bak
then transfer over the file to my development server
4. i do ./restoreconfig
and ./bak2db
5. the development ldap server is up and running
BUT somehow the password for admin console get overwritten
by the config i extract from UAT Server ( which i dont know the password for admin console in UAT server )
how do i reset/restore the admin console password?
Thanks.
can i just do ./bak2db without doing restore config to restore the data??

hi,
stop the slapd process,
go to the config directory of your server and open the dse.ldif with a editor,
serach for 'nsslapd-rootdn' and 'nsslapd-rootpw',
you will find your ldap manager account, should be something like:
nsslapd-rootdn: cn=Manager
an his password:
nsslapd-rootpw: {SSHA}lrSK6wJmZMBBg/jOdCd/fxKf+hhUfaFQFCpLFw==
generate a new password with:
./getpwenc <encryption scheme> <password to encrypt>
./getpwenc SSHA newsecret
{SSHA}cwn+TWDDcex1nJgA1QxkWJN/V+hWTytPyCZTbw==
the 'getpwenc' script is located in the slapd-<hostname> directory of your server-install-directory.
take the new generated pasword and replace it with the old one in the dse.ldif.
don't forget to make an extra backup of the dse.ldif!

Similar Messages

  • You have forgot your admin console password.how to reset your admin console

    If you create the new domain in oracle weblogic at that time you give the admin console username & password. After one week you forgot the admin console password. then how to login into the admin console page.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain --> The New domain name is " vinoth_domain"
    [root@loaclhostvinoth_domain]# ll
    total 44
    drwxr-x--- 2 root root 4096 Jul 23 12:21 autodeploy
    drwxr-x--- 5 root root 4096 Jul 23 12:21 bin
    drwxr-x--- 12 root root 4096 Jul 23 12:22 config
    drwxr-x--- 2 root root 4096 Jul 23 12:21 console-ext
    -rw-r----- 1 root root 462 Jul 23 12:21 fileRealm.properties
    drwxr-x--- 2 root root 4096 Jul 23 12:21 init-info
    drwxr-x--- 2 root root 4096 Jul 23 12:21 lib
    drwxr-x--- 2 root root 4096 Jul 23 12:31 security
    drwxr----- 3 root root 4096 Jul 23 12:22 servers
    -rw-r----- 1 root root 649 Jul 23 12:21 startManagedWebLogic_readme.txt
    -rwxr-x--- 1 root root 275 Jul 23 12:21 startWebLogic.sh
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r--r-- 1 root root 3301 Jul 23 12:31 DefaultAuthenticatorInit.ldift
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_backup
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    -rw-r--r-- 1 root root 3301 Jul 23 12:33 DefaultAuthenticatorInit.ldift_backup
    [root@loaclhostbin]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/bin
    [root@loaclhostbin]# ll
    total 48
    drwxr-x--- 2 root root 4096 Jul 23 12:21 nodemanager
    drwxr-x--- 2 root root 4096 Jul 23 12:21 server_migration
    drwxr-x--- 2 root root 4096 Jul 23 12:21 service_migration
    -rwxr-x--- 1 root root 15895 Jul 23 12:21 setDomainEnv.sh
    -rwxr-x--- 1 root root 3211 Jul 23 12:21 startManagedWebLogic.sh
    -rwxr-x--- 1 root root 5658 Jul 23 12:21 startWebLogic.sh
    -rwxr-x--- 1 root root 2437 Jul 23 12:21 stopManagedWebLogic.sh
    -rwxr-x--- 1 root root 2098 Jul 23 12:21 stopWebLogic.sh
    [root@loaclhostbin]# ./setDomainEnv.sh --> You can set the Environment.
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]#java weblogic.security.utils.AdminAccount Adminnewusername Adminnewpassword .
    Example:
    [root@loaclhostsecurity]#java weblogic.security.utils.AdminAccount vinoth vinoth123 .
    You must use '.' dot at the end of this command in between have a space.
    If you execute the above statement then the newly created DefaultAuthenticatorInit.ldift is availble in this path
    "/oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/"
    [root@loaclhostsecurity]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/security/
    [root@loaclhostsecurity]# ll
    total 36
    -rw-r----- 1 root root 2398 Jul 23 12:21 DefaultRoleMapperInit.ldift
    -rw-r----- 1 root root 64 Jul 23 12:21 SerializedSystemIni.dat
    -rw-r----- 1 root root 22654 Jul 23 12:21 XACMLRoleMapperInit.ldift
    -rw-r--r-- 1 root root 3301 Jul 23 12:33 DefaultAuthenticatorInit.ldift_backup
    -rw-r--r-- 1 root root 3301 Jul 23 12:37 DefaultAuthenticatorInit.ldift ---> newly created file.
    After you start the Adminserver the error is throughing then we go to the Adminserver ldap directory and rename the ldap directory.
    [root@loaclhostdata]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/servers/AdminServer/data
    [root@loaclhostdata]# ll
    total 16
    drwxr----- 2 root root 4096 Jul 23 12:23 console
    drwxr----- 7 root root 4096 Jul 23 12:44 ldap
    drwxr----- 4 root root 4096 Jul 23 12:23 store
    [root@loaclhostdata]# mv ldap ldap_backup
    [root@loaclhostdata]# ll
    total 16
    drwxr----- 2 root root 4096 Jul 23 12:23 console
    drwxr----- 4 root root 4096 Jul 23 12:23 store
    drwxr----- 7 root root 4096 Jul 23 12:55 ldap_backup
    After that you start the Adminserver by using the "startWeblogic.sh'' shell script.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain
    [root@loaclhostvinoth_domain]# ll
    total 44
    drwxr-x--- 2 root root 4096 Jul 23 12:21 autodeploy
    drwxr-x--- 5 root root 4096 Jul 23 12:21 bin
    drwxr-x--- 12 root root 4096 Jul 23 12:22 config
    drwxr-x--- 2 root root 4096 Jul 23 12:21 console-ext
    -rw-r----- 1 root root 462 Jul 23 12:21 fileRealm.properties
    drwxr-x--- 2 root root 4096 Jul 23 12:21 init-info
    drwxr-x--- 2 root root 4096 Jul 23 12:21 lib
    drwxr-x--- 2 root root 4096 Jul 23 14:50 security
    drwxr----- 3 root root 4096 Jul 23 12:22 servers
    -rw-r----- 1 root root 649 Jul 23 12:21 startManagedWebLogic_readme.txt
    -rwxr-x--- 1 root root 275 Jul 23 12:21 startWebLogic.sh
    [root@loaclhostvinoth_domain]# ./startWebLogic.sh
    Then you enter the new adminuser & password. The admin server Working fine. But if you start the Managed server the can through error. Then we follow the below step to resolve that problem.
    [root@loaclhostvinoth_domain]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/servers/Managedserver1/data/
    [root@loaclhostvinoth_domain]# ll
    [root@loaclhostdata]# ll
    total 8
    drwxr----- 7 root root 4096 Jul 15 18:50 ldap
    drwxr----- 4 root root 4096 Jun 8 16:40 store
    [root@loaclhostdata]# mv ldap ldap_backup
    root@loaclhostdata]# ll
    total 8
    drwxr----- 4 root root 4096 Jun 8 16:40 store
    drwxr----- 7 root root 4096 Jul 23 15:50 ldap_backup
    Then you can start the Managed server one means they can't show any error.
    [root@loaclhostbin]# pwd
    /oracle/Middleware_1033/user_projects/domains/vinoth_domain/bin/
    [root@loaclhostbin]# ll
    total 72
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 nodemanager
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 server_migration
    drwxr-xr-x 2 root root 4096 Jun 8 16:26 service_migration
    -rwxr-xr-x 1 root root 15901 Jun 8 16:27 setDomainEnv_default.sh
    -rwxr-xr-x 1 root root 16348 Jun 8 17:27 setDomainEnv.sh
    -rwxr-xr-x 1 root root 3217 Jun 8 16:27 startManagedWebLogic.sh
    -rwxr-xr-x 1 root root 5661 Jun 8 16:27 startWebLogic_default.sh
    -rwxr-xr-x 1 root root 5702 Jun 8 16:29 startWebLogic.sh
    -rwxr-xr-x 1 root root 2440 Jun 8 16:27 stopManagedWebLogic.sh
    -rwxr-xr-x 1 root root 2101 Jun 8 16:27 stopWebLogic.sh
    [root@loaclhostbin]#./startManagedWebLogic.sh Managedserver1 http://localhost:7001 adminusername adminpassword
    adminusername : vinoth
    adminpassword: vinoth123
    If you follow the step to start the Adminserver & Managed servers in oracle weblogic.
    Regards,
    S.Vinoth Babu

    Re: Reset admin password in Weblogic 9.2
    this worked for me.

  • How do I restore my Admin status for a program in Applications using 10.6.8

    How do I restore my Admin status for a program in Applications using 10.6.8?

    Is this the file that does not have the desired priveleges? I think that's correct. If so, then open Terminal in the Utilitie folder. At the prompt enter:
    sudo chown -Rf root:admin [dragged file goes here]
    Leave a space after "root:admin" and drag the file you need to change into the Terminal window. Press RETURN. You will be asked to enter your admin password. It will not be echoed to the screen so type carefully. Press RETURN again.
    This will change the priveleges of the file to the default for the Applications folder.

  • My ipad is locked and I cannot remember my passcode. How do I restore/reset my device?

    My ipad is locked and I cannot remember my passcode. How do I restore/reset my device?

    If you've forgotten the passcode then you will need to connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and re-sync your content to it (http://support.apple.com/kb/HT1212) - you may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808

  • How do you restore after forgetting a password on a ipod?

    how do you restore after forgetting a password on a ipod?

    If you forgot its password the iPod has to be restored. Make sure you are following the instructions in this procedure to the letter. Here they are, with emphasis on some easily overlooked requirements:
    Disconnect the USB cable from the Pod touch, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release only the Sleep/Wake button.
    Continue pressing and holding the Home button while you reconnect the USB cable to the device. The device should turn on.Note: If you see the "low battery" screen, let the device charge for at least ten minutes to ensure that the battery has some charge, and then start with step 2 again.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears (iTunes icon and USB connector)release the Home button.
    If necessary, open iTunes. You should see the "recovery mode" alert ("iTunes has detected a phone in recovery mode").
    Use iTunes to restore the device.
    If you do not see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Select the iPod in iTunes and choose "restore from backup".

  • How can I restore / reset / recover my phone software?

    Hello,
    My Smartphone (Nokia Lumia
    520), crashed while doing
    the procedure How can I restore / reset
    / recover my phone software?
    Right now I can not connect it or
    the auxiliary software we use to do the
    restoration detects the smartphone.
    What can I do to complete the procedure?
    Note for the fact that meet all the
    requirements listed procedure to restore
    the operating system and thesmartphone had
    charged battery.
    Best Regards
    Daniel Araujo.

    For help using Windows Phone please post in the Windows Phone forums on http://answers.Microsoft.com
    The developing for Windows Phone forum is for developers to discuss writing their own Websites Like apps

  • How to retrieve the admin console password

    hi,
    How to retrieve the password for the admin console. I have forgotten it. I am
    using 8.1
    Thanks
    Ashwani

    Hi,
    I don't know of a way to retrieve the administrators password. Are you sure there
    is one? I know how to change or reset it from the command line. Then you'll
    know what it is :)
    I did the following:
    %JAVA_HOME%\bin\java -cp %WL_HOME%\WLS\server\lib\weblogic.jar weblogic.Admin
    -adminurl localhost:8301 -username system -password patbumpus invoke -mbean Security:Name=myrealmDefaultAuthenticator
    -method changeUserPassword system patbumpus password
    You can also try -method resetUserPassword and you don't have to know the original
    password.
    There is a problem with changing the administrator's password. You need to update
    the boot.properties file in the domain directory as well which you can do in a
    sed script. If you don't, then the server won't boot. Also, there might be issues
    with changing the administrator's password and then being able to start managed
    servers. I had a problem, but didn't investigate enough to rule out user error.
    This is supposed to be all fixed in WLS 9.x.
    I know that I didn't answer your question, but maybe something was useful.
    pat
    "Ashwani Kalra" <[email protected]> wrote:
    >
    hi,
    How to retrieve the password for the admin console. I have forgotten
    it. I am
    using 8.1
    Thanks
    Ashwani

  • How do I restore my passcode (not password) in my iphone5s. It's the one that is asked whenever you have to unlock the phone. I got used to having my thumb mark open it that I forgot it after my phone got recharged after it drained out.

    how do I get my passcode (not password) in my iphone5s sent to me via email. It's the one that is asked whenever you have to unlock the phone. I got used to having my thumb mark open it that I forgot it after my phone got recharged after it drained out. Apparently, the fingerprint won't do after the phone was drained and recharged again. The passcode has to be typed in. I don't usually allow my phone to drain out except this one time on a long trip. Hence I forgot my passcode and I prefer it being sent to me via my registered email. I know that if you enter it several times, the phone gets locked out over certain periods from 1 minute to 60 minutes so I don't want to take that risk. Any suggestions?

    First, this is a user-to-user technical support forum, not a way to communicate with Apple.
    That aside, no one can email your passcode to you because no one (not even Apple) knows it. The passcode exists in only one place - on the phone. You will have to restore the phone using the computer that you regularly sync it to. This will reinstall iOS, remove the passcode, and restore your most recent backup.
    Edit:
    See: iOS: Forgotten passcode or device disabled after entering wrong passcode for more details

  • Admin console password

    I have installed Sun One Server Application, then i tried to get into Admin console by giving following addres in the
    address bar of InternetExplorer.."http://localhost:4848/admin"..
    As soon as i press GO..its asking me to provide the username and password..I dont know what to give..
    Please provide me the solution as soon as possible
    Ashokaan

    Hi,
    The username and password for the admin server are set during the installation by you. If you do not remember the adminstrative username try the user name "admin". This is the default user name specified in the server configuration dialog during installation. Also, you can look up the username in the following file:
    install_root/appserv/domains/domain1/admin-server/config/admpw
    This file contains the administrator's username followed by the encrypted password.
    If you do not remember the password, you will have to uninstall and re-install the application server.
    Thanks
    Radhika

  • How do I set the admin login password on my macbook pro?

    Is there an uncomplicated way to reset the administration password for my computer?

    Boot into recovery
    Open Terminal from the Utilities menu
    Type resetpassword at the prompt and hit enter.
    Select drive and user account and reset password.
    Do you consider that complicated?

  • Hi Three times in two days i have received an email explaining how to go about resetting my apple password. Bit worrying three times in two days . Any ideas what i should do??

    Hi Three times in two days now i have received an email explaining how i can reset my apple ID passwword etc. Ive had this email before but only once and ignored as we are advised . Three times in two days though, bit worried, any ideas??

    Is it just letting you know how to reset you password or saying it's trying to be reset?
    If it's just letting you know how to I wouldn't worry, but if it says it's trying to then call apple and you'll have to talk to account security.

  • HT4798 how do i change my admin account password?

    I have forgotten my admin password and am looking to re-set it, can it be done?

    Reset Password
    Using Recovery HD
    http://pondini.org/OSX/Password.html
    Best.

  • Default Admin Console Password

    I just finished installing Oracle WebLogic Server 9.2 MP3. Everything went well, no issues encountered. Now, I am trying to get into the Administration Console. It is asking for Username and Password. I have been all through the Installation Guide and the Introduction to WebLogic Server and WebLogic Express. Nothing in there telling me the default signon and password.
    I tried all the obvious ones:
    - admin, admin
    - admin, weblogic
    - weblogic, welcome
    - weblogic, weblogic
    And the various combinations with caps.
    Any help would be appreciated.

    I found the answer in another area.
    weblogic/weblogic
    Apparently, I fat fingered it a few times.

  • How do I recover/reset the administrator password in OS X Server

    I have a customer who apparently has a single Administrator acount in OS X Server (10.5X, I believe). They "can't remember" their password. I understand the password reset utility in the workstation version, but I recall reading this has huge consequences for a file server. Is there any safe way to do this?

    Hi
    "I recall reading this has huge consequences for a file server"
    Strange? I have never known of or ever heard of any such consequences.
    "Is there any safe way to do this?"
    Yes. There are a number of methods you could use but probably the easiest/simplest is to insert the Server Installer Disk, reboot and hold down the 'C' key. Just as you would on the Client OS, use the Password Reset Utility to reset the local administrator's password. You should also reset root's (System Administrator) password at the same time as this would have been syncrhonized when the default local administrator account was first created. Restart the Server when you're done. Login as normal using the password you've just reset.
    HTH?
    Tony

  • How to Modify Weblogic's Admin Console Login?

    Hi all,
    I am working with Weblogic Server 8.1. I would like to take weblogic's current
    administration console ( ../console/LoginForm.jsp) and make some modifications.
    Mostly, I would like to access LoginForm.jsp. Where exactly is this file located?
    I can find the console.war file, but the LoginForm.jsp is not there. I can't find
    the files I need to modify. Where can I find files to modify the administration
    console/login?
    You help is appreciated, thanks!

    Hi Shailesh Dyade,
    Try to execute the following script after executing the startup script (startWeblogic.cmd or startWeblogic.sh).
    connect("username","password","t3://hostname:portnumber")
    edit()
    startEdit()
    cmo.setConsoleEnabled(true)
    save()
    activate()
    disconnect()
    exit()
    once execute the above script then restart the server & try to access the console using the URL
    Thanks & Regards,
    Siva Prasad Reddy
    [email protected]
    9550887963

Maybe you are looking for

  • Since updating to mac osx10.6.7 firefox crashes when opening google homepage

    Firefox crashes when opening home page on google. after clicking restore get this is embarassing note if I click on restore once firefox toolbar comes up. I can than access my bookmarks and browse. however it will still crash at random sites, includi

  • How can I add a company logo into my signiture line of my e-mail?

          I have an Ipad 2 that I use for business, I would like to attach a company logo to the signature line to appear on all of my outgoing messages for better identification. How can I do this?

  • Deleting images from bridge

    I used to be able to right click on an image in bridge and delete it. That option seems to be gone. Has it moved? Am I missing it somehow?

  • HELP!! Photoship CS3 has stopped working

    Just purchased a new laptop that runs Windows 7 and yesterday Photoshop CS3 was working fine.  Today it gives a message during the start up that it has stopped working and Windows will close the program and notify me if there is a solution.  Any thou

  • To create Shippment notification message

    Hi Experts, I have a scenario as expained below             Sales Order(SO)                                             Purchase Order(PO)  SRM------------------------------------>XI---------------------->R/3---------------------------->Supplier