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.
- First, set the system property “
admin.password
” to your desired password. - For example add “
-Dadmin.password=mypassword
” to the JVM parameters. - 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
Post a Comment