Hi !
I'm looking for a parameter, to set up the default "admin" password on an ACS Community deployment.
Right now, I wait for the engine to start, and manually curl a new password:
docker exec -it alfresco-1 curl -X PUT "http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/-me-" \ -H "accept: application/json" -H "authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" \ -d "{ \"oldPassword\": \"admin\", \"password\": \"${CONTENT_PASSWORD}\" }"
it works, but it feels wrong... Kinda hacky.
Every other internal sub-systems, like ActiveMQ, Keycloak, or Postgres, have environment variables to setup everything on the first launch.
I can't find such parameter on ACS.
I can't find anything in the ENV variables, nor the alfresco-global.properties.
Am I looking the wrong way ?
Thanks.
Solved! Go to Solution.
You can use the property alfresco_user_store.adminpassword, like in https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/23.1/dock...
Expected value is an NTLM hash, like calculated in https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/index.js#L636
You can use the property alfresco_user_store.adminpassword, like in https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/23.1/dock...
Expected value is an NTLM hash, like calculated in https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/index.js#L636
That's exactly what I was looking for !
Thank you very much !!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.