08-22-2019 06:39 AM
What are the docker alfresco-content-repository root credentials for changing alfresco-global.properties
08-22-2019 08:25 AM
You can SSH into the container without password via docker commands.
#Get container name or short container id:
- docker ps
#SSH into the container using container name or container id
- docker exec -t -i docker_acs6-aio-demo-project-acs_1 /bin/bash
here, docker_acs6-aio-demo-project-acs_1 is the container in my case
You will be logged in as root user by default. You can execute all Linux commands.
- Open the /usr/local/tomcat/shared/classes/alfresco-global.properties in Vi editor and add/update as needed.
- Additionally you can use any other user as well if you have any, this command allows a particular user:
- docker exec -t -i -user alfadmin docker_acs6-aio-demo-project-acs_1 /bin/bash
If you want to change the password to something you know, then you can do it after you login using above commands.
- Execute 'passwd' command to change the password.
08-22-2019 09:22 AM
Thank but afert:
Results alfresco-global.properties readonly.
08-22-2019 09:56 AM
Can you check if you are getting in as root user ? Check for file permissions. It should be root user. sudo option is not available, so you might have to install it if logging in using a different user.
Additionally, you can force the login using root user by using this command:
docker exec -t -i --user root docker_acs6-aio-demo-project-acs_1 /bin/bash
08-22-2019 08:58 AM
Thank but afert:
Results alfresco-global.properties readonly.
Explore our Alfresco products with the links below. Use labels to filter content by product module.