I am the new administrator of a site using Plone 3.6.
I just deleted myself, the admin user without intention, then the system logged me out. I'm new to Plone and now so ashamed for my first stupid steps in the user management. Is there any way to restore the admin user? This was the only admin user on the users' list. Is there something like superuser and maybe I have to contact the web hoster?
Hello Mike and thank you for your time and hint. In this case I'll have to contact the web hoster. And I can prepare a little bit the work for. Do you know where I can find the docs for adduser from the command line (Plone 3.6)?
I have a question to the docs, do I run the command from the root level? And what about the case of Zope cluster and buildout.cfg, the command is for all instances zopectl?
The zopectl adduser will work for all instances in your cluster. The script will create the user in the database, which is accessible for all users.
You don't need to run this from the root of the instance, bin/instance, instance and /home/marius/zope_installs/bin/instance all work alike.
Keep in mind that you might have to use zopectl instead of instance as noted here: https://docs.plone.org/manage/deploying/zope.html#zope-control-command