Skip to content

Commit b9157e3

Browse files
authored
Merge pull request #1860 from plone/ale/add-zope-user-fixup
Clarify and rework the docs for adding a Zope manager user
2 parents 6692187 + f5fb944 commit b9157e3

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

docs/admin-guide/add-emergency-user.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,49 @@ myst:
77
"keywords": "Plone, Zope, users, emergency user, administration, pip, buildout"
88
---
99

10-
(user-groups-emergency-user-label)=
10+
(admin-guide-zope-manager-user-label)=
1111

1212
# Zope Manager Users
1313

1414
Zope manager users have full access to the whole Zope instance.
1515

16-
Some installation methods automatically create a zope admin user for you already.
16+
Some installation methods automatically create a zope `admin` user for you already.
1717

18-
The credentials for this user are usually:
19-
20-
- username: `admin`
21-
- password: `admin`
18+
This guide explains how to add a Zope manager user to an existing Zope instance.
2219

23-
There are multiple reasons why you might need to add a new Zope manager user, such as:
20+
There are multiple reasons why you might need to do that, such as:
2421

2522
- Your installation method did not create one.
2623
- You lost access to your instance.
2724
- You inherited a project without proper documentation.
2825

29-
If you need to regain access to your instance, this user is also refered to as an emergency user.
30-
31-
This guide explains how to add a Zope manager user to an existing Zope instance.
26+
```{note}
27+
If you need to regain access to your instance, this user is also referred to as an **emergency user**.
28+
```
3229

3330
```{note}
3431
The emergency user is a superuser with full access to the Zope instance.
3532
It is not limited to a specific Plone site.
3633
Please be aware of the security implications.
34+
You might want to change the passwords of the already existing manager users after you regained to your instance.
3735
```
3836

39-
(user-groups-create-an-emergency-user-label)=
37+
(admin-guide-adding-a-new-zope-manager-user-label)=
4038

4139
## Adding a New Zope Manager User
4240

43-
There are multiple ways to create a Zope manager user, depending on how you created and managed your Zope instance.
41+
There are multiple ways to create a Zope manager user.
42+
That depends on how you created and managed your Zope instance.
4443

4544
```{important}
4645
If you are running a standalone instance, it must be stopped before adding the user.
4746
```
4847

48+
(admin-guide-using-the-adduser-instance-command-label)=
49+
4950
### Using the `adduser` instance command
5051

51-
If your site was installed with `buildout`, you can add a Zope manager user via an instance script.
52+
If your site was installed with `buildout` and `plone.recipe.zope2instance`, you can add a Zope manager user via an instance script.
5253

5354
Run the following command in the terminal:
5455

@@ -72,6 +73,8 @@ $ bin/instance adduser foo baz
7273
Created user: None
7374
```
7475

76+
(admin-guide-using-the-addzopeuser-command-label)=
77+
7578
### Using the `addzopeuser` command
7679

7780
For `pip` based installations, you will have a script called `addzopeuser` in the `bin` directory of your virtual environment.

0 commit comments

Comments
 (0)