From 86a821a036c2ad1366bd4246efd40ceb37ca7729 Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Tue, 29 Apr 2025 13:20:26 +0700 Subject: [PATCH] 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> --- doc/radosgw/admin.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5