Bug 854632 - user update does not allow you to change user password
Summary: user update does not allow you to change user password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 40
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 848520 856711
TreeView+ depends on / blocked
 
Reported: 2012-09-05 13:30 UTC by Preethi Thomas
Modified: 2015-03-23 01:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 856711 (view as bug list)
Environment:
Last Closed: 2013-01-09 17:05:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2012-09-05 13:30:50 UTC
Description of problem:
There is no way to change password for a user

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a user
2. Run user update to change the password
3.
  
Actual results:

[root@preethi-el6-pulp ~]# pulp-admin user update --login user1 --password redhat
Usage: pulp-admin [options]

Command: update
Description: changes metadata of an existing user

Available Arguments:

  --login - (required) identifies the user to be updated
  --name  - user-readable full name of the user
[root@preethi-el6-pulp ~]# pulp-admin user update --help
Command: update
Description: changes metadata of an existing user

Available Arguments:

  --login - (required) identifies the user to be updated
  --name  - user-readable full name of the user
[root@preethi-el6-pulp ~]# 

Expected results:


Additional info:

Comment 1 Sayli Karmarkar 2012-09-13 21:53:36 UTC
commit b2c04b0cd21242cba5bccc655b477dec8d7c792c
Author: Sayli Karmarkar <skarmark>
Date:   Thu Sep 13 14:47:11 2012 -0700

    854632 - added --password and -p options to user update command to update password in a non-interactive and interactive fashion respectively


$ pulp-admin user update --help
Command: update
Description: changes metadata of an existing user

Available Arguments:

  --login    - (required) identifies the user to be updated
  --name     - user-readable full name of the user
  --password - new password for the user, use -p if you want to be prompted for
               the password
  -p         - if specified, you will be prompted to enter new password for the
               user

$ pulp-admin user update --login sayli --password asdf1234
User [sayli] successfully updated

$ pulp-admin user update --login sayli --name sayli -p
Enter new password for user [sayli] : 
Re-enter new password for user [sayli]: 
User [sayli] successfully updated

Comment 2 Sayli Karmarkar 2012-09-13 21:55:26 UTC
Merged into master and pulp-cr-2 branches.

Comment 3 Jeff Ortel 2012-09-17 22:56:28 UTC
build: 2.0.4

Comment 4 Preethi Thomas 2012-09-26 17:49:16 UTC
[root@preethi-el6-pulp ~]# rpm -q pulp-rpm-server
pulp-rpm-server-2.0.5-1.el6.noarch
[root@preethi-el6-pulp ~]# 


[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin user update --login preethi --password test
User [preethi] successfully updated

[root@preethi-el6-pulp ~]# 
[root@preethi-el6-pulp ~]# 
[root@preethi-el6-pulp ~]# 
[root@preethi-el6-pulp ~]# pulp-admin -u admin -p admin user update --login preethi -p
Enter new password for user [preethi] : 
Re-enter new password for user [preethi]: 
User [preethi] successfully updated

[root@preethi-el6-pulp ~]#

Comment 5 Jay Dobies 2013-01-03 20:03:05 UTC
Moving these up against the 2.0 Beta so we can delete the CR-2 version from bugzilla.

Comment 6 Preethi Thomas 2013-01-09 17:05:36 UTC
Pulp v2.0 released


Note You need to log in before you can comment on or make changes to this bug.