Bug 677385 - change of user's password fails when user has no password set
Summary: change of user's password fails when user has no password set
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-users
Version: 6.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nils Philippsen
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 677999
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-14 15:09 UTC by Aleš Mareček
Modified: 2011-02-16 14:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 677999 (view as bug list)
Environment:
Last Closed: 2011-02-16 13:36:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Aleš Mareček 2011-02-14 15:09:31 UTC
Description of problem:
It's not possible to change password of user that has been created via useradd with no password set. Password fields are disabled.

Version-Release number of selected component (if applicable):
system-config-users-1.2.104-1.el6_0.3.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a user with no password: useradd -m mytestuser
2. Start system-config-users and try to change his password.
  
Actual results:
Impossible to change user's password (via s-c-u)

Expected results:
It should be possible to change password of user even thought it wasn't set before.

Additional info:

Comment 1 Nils Philippsen 2011-02-16 13:19:45 UTC
This issue exists on the current git HEAD as well.

Comment 2 Nils Philippsen 2011-02-16 13:36:18 UTC
This is not actually a bug, as the account is locked and can be unlocked in the "Account Info" tab. Perhaps add a tooltip explaining where to unlock in future versions?

Comment 3 Aleš Mareček 2011-02-16 14:36:20 UTC
Hi Nils,
well, some info about locked account will be great but I'm not for this solution because new account without password isn't really locked, it's just an account without password. In system there could be truly locked users with password set.
Or am I wrong and "passwd" does unlock after setting of a user's password?

I know that s-c-u is not copy-paste gui for passwd but are you sure that some "information" in tab is enough?)


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