Fix numbering in doc (#8311)

master
Aditya Manthramurthy 5 years ago committed by kannappanr
parent c8da04ba5b
commit 704be85987
  1. 8
      docs/multi-user/README.md

@ -70,7 +70,7 @@ Disable group `newgroup`.
mc admin group disable myminio newgroup mc admin group disable myminio newgroup
``` ```
### 4. Remove user ### 5. Remove user
Remove the user `newuser`. Remove the user `newuser`.
``` ```
mc admin user remove myminio newuser mc admin user remove myminio newuser
@ -86,7 +86,7 @@ Remove the group `newgroup`.
mc admin group remove myminio newgroup mc admin group remove myminio newgroup
``` ```
### 5. Change user or group policy ### 6. Change user or group policy
Change the policy for user `newuser` to `putonly` canned policy. Change the policy for user `newuser` to `putonly` canned policy.
``` ```
mc admin policy set myminio putonly user=newuser mc admin policy set myminio putonly user=newuser
@ -97,7 +97,7 @@ Change the policy for group `newgroup` to `putonly` canned policy.
mc admin policy set myminio putonly group=newgroup mc admin policy set myminio putonly group=newgroup
``` ```
### 6. List all users or groups ### 7. List all users or groups
List all enabled and disabled users. List all enabled and disabled users.
``` ```
mc admin user list myminio mc admin user list myminio
@ -108,7 +108,7 @@ List all enabled or disabled groups.
mc admin group list myminio mc admin group list myminio
``` ```
### 7. Configure `mc` ### 8. Configure `mc`
``` ```
mc config host add myminio-newuser http://localhost:9000 newuser newuser123 --api s3v4 mc config host add myminio-newuser http://localhost:9000 newuser newuser123 --api s3v4
mc cat myminio-newuser/my-bucketname/my-objectname mc cat myminio-newuser/my-bucketname/my-objectname

Loading…
Cancel
Save