From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Tue, 29 Apr 2025 06:20:26 +0000 (+0700) Subject: doc/radosgw: Use privileged prompt for CLI commands in admin.rst X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=86a821a036c2ad1366bd4246efd40ceb37ca7729;p=ceph.git doc/radosgw: Use privileged prompt for CLI commands in admin.rst 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> --- diff --git a/doc/radosgw/admin.rst b/doc/radosgw/admin.rst index 732738312f9ce..feb097317210a 100644 --- a/doc/radosgw/admin.rst +++ b/doc/radosgw/admin.rst @@ -416,19 +416,19 @@ requests necessary to restore them. 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