Hide Forgot
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
Moving back to Assigned to add the following change: if rootpw is passed and adminpw is not passed, then set admin passwd to be rootpw
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