AEM 6.1 - Reset admin password | Community
Skip to main content
paradox8071
Level 2
July 18, 2018
Solved

AEM 6.1 - Reset admin password

  • July 18, 2018
  • 11 replies
  • 7105 views

Ihave lost the password and I need to reset the admin password on AEM 6.1

Followed steps mentioned here :

   [1] https://helpx.adobe.com/experience-manager/kb/reset-admin-password.html

   [2] http://experience-aem.blogspot.com/2015/07/aem-6-sp2-reset-administrator-password-to-admin -offline.html

   [3] https://github.com/shinesolutions/aem-password-reset

   

It did not work for me

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by paradox8071

I was able to reset the password with the help of the solution provided by shinesolutions (https://github.com/shinesolutions/aem-password-reset) and changing a little to work with aem 6.1 .

Thanks everyone for the help.

11 replies

arunpatidar
Community Advisor
Community Advisor
July 18, 2018

Hi,

try below:

1. Go to the AEM instance where you have admin password.

2. Package admin node , you can find admin node from http://localhost:4502/useradmin

serach for admin and check Path

3. follow 2nd thread which you've shared but with your package.

Thats is

1) Stop AEM 6 instance

2) Place the package your package in <AEM_Home>/crx-quickstart/install

3) Start AEM 6 instance

4) Package should have installed. I

5) Login with admin crendentials.

For 6.2, you'll need to know the path to the admin user node in the instance you want to change.

1. Create a package with the admin account with a known password.

2. Download the package and update the node path and filter.xml to match the account on the target instance.

3. Upload package to install folder and restart AEM.

In error.log, you should see "content package installed"

AEM may refuse to install package because of missing rep:token.key, if this occurs, just make sure you are not including .tokens under the admin node.

Arun Patidar
paradox8071
Level 2
July 18, 2018

not working,  throwing error that admin user can not be removed.

arunpatidar
Community Advisor
Community Advisor
July 18, 2018

Hi,

make sure ".tokens" are excluded under the admin node while packaging.

Arun Patidar
paradox8071
Level 2
July 18, 2018

what should I do if don't know admin node path on the instance with the lost password?

arunpatidar
Community Advisor
Community Advisor
July 18, 2018

You can go to the instance where you want to change the password using other account

and from useradmin console you can get the path like above.

Arun Patidar
paradox8071
Level 2
July 18, 2018

Thank you for your help, but the problem is I do not have another user with rights to access /useradmin.

paradox8071
Level 2
July 18, 2018

is there any default user other than admin that can access /useradmin or get any information about admin node?

smacdonald2008
Level 10
July 18, 2018

Did you follow this procedure exactly as is - it will create another user for you...

Method 1

Create a package from another instance that includes the /home/users/a/admin (dev, staging, and so on) where you know the password. Download that package and copy it into crx-quickstart/install folder (create that folder if not existing). The package is installed and the user information updated, including the password.

paradox8071
Level 2
July 18, 2018

there is nothing under /home/users/a/ in my case, admin user node is placed under different (random) path which I find out by following the first comment from arunp99088702.

admin node path is different on each of the install instances of 6.1.

arunpatidar
Community Advisor
Community Advisor
July 18, 2018