Bug 668556

Summary: User password prompt should ask for verification
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cperry, skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

Description Jay Dobies 2011-01-10 19:20:11 UTC
Since we provide a non-echo prompt for the user's password (in both user create and user update), we should re-prompt for the password a second time and compare them so we can verify that the user didn't make a typo.

Comment 1 Sayli Karmarkar 2011-01-12 18:35:03 UTC
$ pulp-admin user create --username=luke --name="Luke Skywalker"
Enter password for user luke: 
Re-enter password for user luke: 
Successfully created user [ luke ] with name [ Luke Skywalker ]

$ pulp-admin user create --username=lea --name="Princess Lea"
Enter password for user lea: 
Re-enter password for user lea: 

Passwords do not match

Enter password for user lea: 
Re-enter password for user lea: 
Successfully created user [ lea ] with name [ Princess Lea ]

Similar changes made for user update as well. Moving to modified.

Comment 2 Jay Dobies 2011-01-12 19:37:02 UTC
Fixed in build 0.123.

Comment 3 Preethi Thomas 2011-01-12 20:25:51 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.123-1.fc14.noarch


[root@preethi ~]# pulp-admin user create --username=preethi --name="Preethi Thomas"
Enter password for user preethi: 
Re-enter password for user preethi: 

Passwords do not match

Enter password for user preethi: 
Re-enter password for user preethi: 
Successfully created user [ preethi ] with name [ Preethi Thomas ]



[root@preethi ~]# pulp-admin user update --username=preethi -P 
Enter new password for user preethi: 
Re-enter new password for user preethi: 

Passwords do not match

Enter new password for user preethi: 
Re-enter new password for user preethi: 

Passwords do not match

Enter new password for user preethi: 
Re-enter new password for user preethi: 
Successfully updated [ preethi ] with name [  ]

Comment 4 Preethi Thomas 2011-08-16 14:20:36 UTC
Closing with Community Release 15

pulp-0.0.223-4.