]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: Use privileged prompt for CLI commands in admin.rst 63029/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Tue, 29 Apr 2025 06:20:26 +0000 (13:20 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Tue, 29 Apr 2025 06:20:26 +0000 (13:20 +0700)
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

index 732738312f9ce364bf54b44e3b9debb8ed0b3dab..feb097317210a970d26bad23a0299c3dbe2b9520 100644 (file)
@@ -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