diff options
author | Prashanth Pai <ppai@redhat.com> | 2014-01-02 12:20:20 +0530 |
---|---|---|
committer | Luis Pabon <lpabon@redhat.com> | 2014-01-07 13:50:30 -0800 |
commit | 94a3f539e75b069bb1f9df6f850adfe16d76b572 (patch) | |
tree | 61603e804fc97a878490d27201aa03f82b804c22 /doc/markdown/auth_guide.md | |
parent | d1c7b1cc4b19a7a0c2c6a594dd47cf40f98223f9 (diff) |
Fix users not able to change their own password/key
Users were not able to update their own password/key
with the update operation resulting in 403 (HTTPForbidden).
EXAMPLES:
Command to update password/key of regular user:
gswauth-add-user -U account1:user1 -K old_pass account1 user1 new_pass
Command to update password/key of account admin:
gswauth-add-user -U account1:admin -K old_pass -a account1 admin new_pass
Command to update password/key of reseller_admin:
gswauth-add-user -U account1:radmin -K old_pass -r account1 radmin new_pass
BUG: https://bugs.launchpad.net/gluster-swift/+bug/1262227
Change-Id: I604da5aee67099b29541eb7e51a040a041f1961b
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/6650
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'doc/markdown/auth_guide.md')
-rw-r--r-- | doc/markdown/auth_guide.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/markdown/auth_guide.md b/doc/markdown/auth_guide.md index 9a8df92..4d38dfa 100644 --- a/doc/markdown/auth_guide.md +++ b/doc/markdown/auth_guide.md @@ -144,6 +144,26 @@ Example: gswauth-add-user -K gswauthkey -a test ana anapwd ~~~ +**Change password examples** + +Command to update password/key of regular user: + +~~~ +gswauth-add-user -U account1:user1 -K old_pass account1 user1 new_pass +~~~ + +Command to update password/key of account admin: + +~~~ +gswauth-add-user -U account1:admin -K old_pass -a account1 admin new_pass +~~~ + +Command to update password/key of reseller_admin: + +~~~ +gswauth-add-user -U account1:radmin -K old_pass -r account1 radmin new_pass +~~~ + #### gswauth-delete-account: Delete an account. An account cannot be deleted if it still contains users, an error will be returned. |