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.
Description of problem:
Auto install with adminpw, after reboot and logon with admin, it does not prompt old passwd.
#
Please login as 'admin' to configure the node
localhost.localdomain login: admin
You are required to change your password immediately (root enforced)
New password:
Version-Release number of selected component (if applicable):
rhev-hypervisor-6.2-09.el6
How reproducible:
Always.
Steps to reproduce:
1. Auto install with adminpw=123.
2. Reboot and logon with admin
Actual results:
Did not prompt old passwd for adminpw before change new passwd.
Expected results:
Before change new passwd, it should prompt old passwd first.
Created attachment 516750[details]
Patch
Problem was that the code was setting the admin password to be the value of rootpw instead of adminpw.
Testing:
Verify it prompts for admin before letting you change on first login
Created attachment 517270[details]
Followup
Testing:
Pass different rootpw and adminpw, ensure that both logins work
pass only rootpw, ensure that login as admin works
pass only adminpw, ensure that login as admin works
Note:
Resetting password for admin on first login will no set the password for root. They still will need to be reset individually.
Verified on 6.2-0.14:
1. set adminpw=xxx during install.
2. after install, login with admin.
3. prompt current password first, then can set new password.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2011-1783.html