Hide Forgot
Created attachment 515443 [details] lock button disappear Description of problem: TUI: Lock button will disappear after enable ssh password authentication in rescue mode. Version-Release number of selected component (if applicable): rhev-hypervisor-6.2-0.7.el6 How reproducible: 100% Steps to Reproduce: 1. Auto install rhev-hypervisor-6.2-0.7.el6 with "storage_init=/dev/sda storage_vol=500:500:500:500:500:500 local_boot firstboot". 2. Add "rescue" in grub. 3. Run "ovirt-config-password" in /usr/libexec, set passwd and enable SSH password authentication. 4. Re-login RHEVH with admin user. 5. <Lock> button is disappear in status page. Actual results: <Lock> button is disappear in status page. Expected results: Lock button can show after enable ssh password authentication. Additional info: There is a related bug. Bug 720958 - UI: Lock button will disappear after enable ssh password authentication.
(In reply to comment #0) > There is a related bug. > Bug 720958 - UI: Lock button will disappear after enable ssh password > authentication. So this is NOT a duplicate?
> 4. Re-login RHEVH with admin user. Which password did you use? It wasn't set with adminpw and o-c-password changes only root's password, so admin should've been left locked.
o-c-setup no longer runs in single/rescue mode so not an issue anymore
(In reply to comment #9) > o-c-setup no longer runs in single/rescue mode so not an issue anymore OK, thanks!
From previous comments on this bz, we need a way to set the admin user password from a single user or rescue environment.
Created attachment 519293 [details] Patch
Patch modifies the ovirt-config-password script to add an option for configuring the admin user. The script will remain out of the default path. Testing: configure admin password using the script configure root password with script configure both passwords with script
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