AEM 6.3: How to set admin password on initial startup


AEM 6.3: How to set admin password on initial startup


There are 2 different ways to set the admin password as part of the initial installation.
  1. First, set the system property “admin.password” to your desired password.
    • For example add “-Dadmin.password=mypassword” to the JVM parameters.
  2. Second, set the system property “admin.password.file” and pass as value the path to a file. 
    • when this file is accessible by the AEM instance and the contains the line “admin.password=myAdminPassword“, this value will be used as admin password.
FYI, this only works on the initial startup. On all subsequent startups these system properties are ignored; and you should probably remove them or at least purge the file in case of second.

Comments

Popular

AEM 6.3 - Check if page is published or not

Sample CQ Filter

Search engine optimization in CQ