Bug 161869 - desired password for new user creation
Summary: desired password for new user creation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: rhn400
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike McCune
QA Contact: Vlady Zlatkin
URL:
Whiteboard:
: 161871 (view as bug list)
Depends On:
Blocks: 147875
TreeView+ depends on / blocked
 
Reported: 2005-06-27 23:05 UTC by Scott Spurrier
Modified: 2007-04-18 17:28 UTC (History)
3 users (show)

Fixed In Version: RHN 4.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-01 03:08:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Scott Spurrier 2005-06-27 23:05:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-1.1.3.1

Description of problem:
When creating a new user, under "Desired Password" there are "******".  This field should be left blank.

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


How reproducible:
Always

Steps to Reproduce:
1. 1
2.
3.
  

Additional info:

Comment 1 Mike McCune 2005-06-27 23:15:20 UTC
Bret, any thoughts on this?

Comment 2 Bret McMillan 2005-06-28 13:23:22 UTC
I could go either way.  Maybe Maureen has a stronger opinion...

Comment 3 Máirín Duffy 2005-06-28 14:55:30 UTC
I certainly think leaving password fields blank in terminal programs such as ssh
is a good security practice. I don't think I've ever seen this on a web form
password field, however. 

The problem I see with this is that someone is going to fill out the form, look
at the password field and think they never filled it in. Also, if they submit
the form and it dumps them back (e.g. because they forgot to fill part of their
mailing address) the password field is actually blanked out so they may not
realize they have to fill it in again. In the end I think it's a non-standard
practice to force blank password fields, and that it's up to the web browser to
decide how to display them.

However, if you really wanted to mask how long the password is, you could make
the password form field just long enough to only display the minimum number of
characters required for a password (5). Then, for passwords that are > 5
characters, the text inside the box will scroll without expanding the box so the
length of the password would be masked while still maintaining asterisk visual
cue that the field has been filled out.

Some sites change the number of asterisks in the field on focus out but I don't
think that's possible w/o javascript.

Comment 4 Scott Spurrier 2005-06-28 15:11:47 UTC
The problem is that when you create a new user the "Desired Password" field
already has the asterisks by default.  This field should be left blank until the
user is created and the passwords are entered.  After the user is created and
the passwords are entered, the asterisks should show up in both password fields.

Comment 5 Máirín Duffy 2005-06-28 15:22:23 UTC
Hi Scott, I'm not seeing this from either of the new account creation forms at
https://rhn.redhat.com/newlogin/ or under the users tab within the interface at
https://rhn.redhat.com/network/users/create.pxt (hosted and satellite). So I'm
not sure about what page you're referring to. Can you provide an URL?

Comment 6 Scott Spurrier 2005-06-28 15:43:15 UTC
Hi Maureen,  

Here is the URL: 
https://qachaos.nplab.redhat.com/rhn/users/CreateUser.do?account_type=into_org

You can log in as user: "sat-admin" pass: "four11"

This is the version that we are currently running:
rhn-satellite-4.0.0-79a-redhat-linux-as-i386-4-embedded-oracle.iso



Comment 7 Scott Spurrier 2005-06-28 15:48:21 UTC
Mike said he is not seeing the problem either... the problem appears to be with
my browser. I am using mozilla 1.7.8

Comment 8 Mike McCune 2005-06-28 16:02:22 UTC
I reproduced this by downloading mozilla 1.7.8 and doing the following:

1) Turn on "Remember Passwords"
   Edit -> Preferences
   Privacy and Security -> Passwords
   Remember Passwords -> Checked ON

2) Go here:
   http://qachaos.nplab.redhat.com
   login as sat-admin/four11 and when it asks if you want to save the password, 
   say yes.

3) Users -> create new user.  Notice the Desired password is filled out.

Comment 9 Mike McCune 2005-06-28 20:24:35 UTC
Fixing and checking in.  Just renamed the fields in the user edit/create pages
to "desiredpassword" and "desiredpasswordConfirm".

Comment 10 Mike McCune 2005-06-28 20:46:48 UTC
TESTPLAN:

I reproduced this by downloading mozilla 1.7.8 and doing the following:

1) Download Mozilla 1.7.8 if you dont have it.
   Turn on "Remember Passwords"
   Edit -> Preferences
   Privacy and Security -> Passwords
   Remember Passwords -> Checked ON

2) Login to your sat and and when it asks if you want to save the password, 
   say yes.  This part is key.

3) Users -> create new user.  Verify that the desired password isn't filled out.

4) Users -> click on an existing user.  Hit the "save" button, make sure you 
   don't get a message stating that the passwords don't match.



Comment 11 Ken Ganong 2005-06-29 18:32:13 UTC
*** Bug 161871 has been marked as a duplicate of this bug. ***

Comment 12 Vlady Zlatkin 2005-07-22 18:40:00 UTC
prod ready


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