Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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