The Problem:
You want to change the cq5.6/AEM admin password on the publish and server instance.
The Solution:
CQ 5.6 or later:
-
Go to: (Or whatever the address/port of your admin instance is) http://localhost:4502/libs/granite/security/content/useradmin.html
-
Double click on the admin user, scroll down, click on the pencil icon, and change the admin user. NOTE: the first password is the new password, and the second password in the current password. So, for a fresh install, put in the new password first, followed by admin as the second password.
-
Repeat for http://localhost:4503/libs/granite/security/content/useradmin.html or equivalent.
Go to: (Or whatever the address/port of your admin instance is) http://localhost:4502/libs/granite/security/content/useradmin.html
Double click on the admin user, scroll down, click on the pencil icon, and change the admin user. NOTE: the first password is the new password, and the second password in the current password. So, for a fresh install, put in the new password first, followed by admin as the second password.
Repeat for http://localhost:4503/libs/granite/security/content/useradmin.html or equivalent.
CQ 5.4:
To change the password for the CQ admin account, you need to make changes in both CRX and the OSGi Console.
Changing the CQ admin password in the CRX console. To change the admin account in the CRX console:
-
Open the CRX console at http://<server>:<port_number>/crx
-
Log in as admin to the crx.default workspace.
-
Go into the User Administration section; then navigate to, and select, the admin user.
-
In the Properties list, click on Change Password; this will open the Change Password window.
-
Enter the new password, then re-enter to confirm.
-
Click OK to save your changes.
Open the CRX console at http://<server>:<port_number>/crx
Log in as admin to the crx.default workspace.
Go into the User Administration section; then navigate to, and select, the admin user.
In the Properties list, click on Change Password; this will open the Change Password window.
Enter the new password, then re-enter to confirm.
Click OK to save your changes.
Changing the CQ admin password in the OSGi Apache Felix console. To change the admin account in the OSGi Apache Felix console:
-
Navigate to http://<server>:<port_number>/system/console/configMgr, and login as admin, to open Configurations in the Apache Felix console.
-
In the Configurations menu, select the indented entry below Day CRX Sling Client Repository.
The name should have a hexidecimal number at the end; for example:
com.day.crx.sling.client.impl.CRXSlingClientRepository.8d0b589e-fe6b-470e-8fc4-eed99d8b1d80
NOTE: Make sure there is only one instance of Day CRX Sling Client Repositoryconfiguration (i.e. one indented entry with a hexidecimal number) and that the adminpassword is changed there.
Clicking on the entry Day CRX Sling Client Repository will open a similar dialog, but this will be for a new instance (and will show default values); if you click Save for this (and refresh the list) then you will see two instances (i.e. two indented entries).
-
The configuration dialog will be opened. Verify that the Persistent Identity (PID), as displayed in theConfiguration Information section, contains the long hexadecimal string.
-
In the Admin Password field enter the same password as the one you entered in the CRX console.
-
Click Save to save your changes.
Navigate to http://<server>:<port_number>/system/console/configMgr, and login as admin, to open Configurations in the Apache Felix console.
In the Configurations menu, select the indented entry below Day CRX Sling Client Repository.
The configuration dialog will be opened. Verify that the Persistent Identity (PID), as displayed in theConfiguration Information section, contains the long hexadecimal string.
In the Admin Password field enter the same password as the one you entered in the CRX console.
Click Save to save your changes.
Nhận xét
Đăng nhận xét