Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM 6.1 - Reset admin password

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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.

View solution in original post

12 Replies

Avatar

Community Advisor

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.

Screen Shot 2018-07-18 at 12.01.51 PM.png



Arun Patidar

Avatar

Level 2

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

Avatar

Community Advisor

Hi,

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



Arun Patidar

Avatar

Level 2

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

Avatar

Community Advisor

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

Avatar

Level 2

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

Avatar

Level 2

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

Avatar

Level 10

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.

Avatar

Level 2

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.

Avatar

Correct answer by
Level 2

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.

Avatar

Level 1

Could you please help me with the steps you followed and do have to place the complete folder in server at location crx-quickstart/install