diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-09-06 18:26:02 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-09-06 18:26:02 +0100 |
| commit | c268faede75e4e69981e2fb022258add04069556 (patch) | |
| tree | c76d2c5a85980ad0092d36b6540ddef5a6107f28 /docs | |
| parent | db8aed87875ddd5140a7d7a8f923c01a078b824b (diff) | |
| download | rabbitmq-server-git-c268faede75e4e69981e2fb022258add04069556.tar.gz | |
Tube strike WIP WFH commit.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmqctl.1.xml | 57 |
1 files changed, 53 insertions, 4 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index be1ee70b5e..0f7cfcff1f 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -401,7 +401,7 @@ <variablelist> <varlistentry> - <term><cmdsynopsis><command>add_user</command> <arg choice="req"><replaceable>username</replaceable></arg> <arg choice="req"><replaceable>password</replaceable></arg></cmdsynopsis></term> + <term><cmdsynopsis><command>add_user</command> <arg choice="req"><replaceable>username</replaceable></arg> <arg choice="req"><replaceable>password</replaceable></arg> <arg choice="req"><replaceable>is_admin</replaceable></arg></cmdsynopsis></term> <listitem> <variablelist> <varlistentry> @@ -412,12 +412,23 @@ <term>password</term> <listitem><para>The password the created user will use to log in to the broker.</para></listitem> </varlistentry> + + <varlistentry> + <term>is_admin</term> + <listitem><para>Whether the user is an administrative + user. This has no effect when the user logs in via + AMQP, but can be used to permit access to additional + features when the user logs in via some other means + (for example with the management + plugin).</para></listitem> + </varlistentry> </variablelist> <para role="example-prefix">For example:</para> - <screen role="example">rabbitmqctl add_user tonyg changeit</screen> + <screen role="example">rabbitmqctl add_user tonyg changeit true</screen> <para role="example"> - This command instructs the RabbitMQ broker to create a - user named <command>tonyg</command> with (initial) password + This command instructs the RabbitMQ broker to create an + administrative user named <command>tonyg</command> with + (initial) password <command>changeit</command>. </para> </listitem> @@ -465,6 +476,44 @@ </varlistentry> <varlistentry> + <term><cmdsynopsis><command>set_admin</command> <arg choice="req"><replaceable>username</replaceable></arg></cmdsynopsis></term> + <listitem> + <variablelist> + <varlistentry> + <term>username</term> + <listitem><para>The name of the user whose administrative + status is to be set.</para></listitem> + </varlistentry> + </variablelist> + <para role="example-prefix">For example:</para> + <screen role="example">rabbitmqctl set_admin tonyg</screen> + <para role="example"> + This command instructs the RabbitMQ broker to ensure the user + named <command>tonyg</command> is an administrator. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><cmdsynopsis><command>clear_admin</command> <arg choice="req"><replaceable>username</replaceable></arg></cmdsynopsis></term> + <listitem> + <variablelist> + <varlistentry> + <term>username</term> + <listitem><para>The name of the user whose administrative + status is to be cleared.</para></listitem> + </varlistentry> + </variablelist> + <para role="example-prefix">For example:</para> + <screen role="example">rabbitmqctl clear_admin tonyg</screen> + <para role="example"> + This command instructs the RabbitMQ broker to ensure the user + named <command>tonyg</command> is not an administrator. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><cmdsynopsis><command>list_users</command></cmdsynopsis></term> <listitem> <para>Lists users</para> |
