I don't see any options to change the default admin: admin password in Plone 6 , from where we can change the administrative password?
Either change it in buildout or login as "admin" into http://localhost:8080/manage and change it through the web.
thanks!!
I use this when I need to create a new instance with a custom admin password:
/usr/local/Plone/venv/bin/addzopeuser admin secret
It expects the zope.conf file to be in /usr/local/Plone/venv/etc
This works only if there is no Data.fs so far. If you start the instance the first time, the default admin:admin credentials would be used.
I've changed the Admin Password in the Backend as mentioned here. But it's still possible to login in the Backend Page on Port :8080 with the default admin:admin name:password Combination, though the new Combination which I added is also possible. It seems to be, that the default admin:admin ist hardcoded somewhere in the Zope Configuration. Where can I remove or change this?
You should changed the admin password in the acl_user object of yout zope root in the zope management interface (ZMI).
@Quark Are you in a Cookieplone based deployment?
In the current Cookieplone projects deployments / docker swarm stacks is possibly a traefik middleware that is configured with the default admin:admin coming from the docker-compose.yml propagated during later steps to devops/stacks/your.project.url.yml.
Changing the docker-compose.yml is not enough once the file in devops is created. It is hard to get rid of that.
If you are in a Volto Docker Deployment and cannot rebuild from scratch you can access the ZMI Root in the container via your.project.url/ClassicUI/aq_parent/manage. You need to login in the Plone site and then overcome the http basicauth from traefik.
You can add an emergency user in the container using this approach: