Bug 677385

Summary: change of user's password fails when user has no password set
Product: Red Hat Enterprise Linux 6 Reporter: Aleš Mareček <amarecek>
Component: system-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 677999 (view as bug list) Environment:
Last Closed: 2011-02-16 13:36:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 677999    
Bug Blocks:    

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?)