Bug 668556 - User password prompt should ask for verification
Summary: User password prompt should ask for verification
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-10 19:20 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:20:36 UTC
Embargoed:


Attachments (Terms of Use)

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.


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