Instead of not defining a prompt to use in CLI commands and falling back
to the default unprivileged prompt, use explicit privileged bash prompt
for CLI commands that require privileges.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
To create an admin user:
-.. prompt:: bash
+.. prompt:: bash #
radosgw-admin user create --uid={username} --display-name="{display-name}" --admin
To add the admin flag to an existing user:
-.. prompt:: bash
+.. prompt:: bash #
radosgw-admin user modify --uid={username} --admin
To remove the admin flag from an existing user:
-.. prompt:: bash
+.. prompt:: bash #
radosgw-admin user modify --uid={username} --admin=0