Bug 725984 - Provide way to set admin password from single/rescue mode
Summary: Provide way to set admin password from single/rescue mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.2
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-27 08:49 UTC by cshao
Modified: 2011-12-06 19:21 UTC (History)
7 users (show)

Fixed In Version: ovirt-node-2.0.2-0.2.git1b3c2f5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 19:21:02 UTC
Target Upstream Version:


Attachments (Terms of Use)
lock button disappear (33.68 KB, image/jpeg)
2011-07-27 08:49 UTC, cshao
no flags Details
Patch (1.69 KB, patch)
2011-08-22 14:13 UTC, Mike Burns
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1783 0 normal SHIPPED_LIVE rhev-hypervisor6 bug fix and enhancement update 2011-12-06 15:10:54 UTC

Description cshao 2011-07-27 08:49:08 UTC
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.

Comment 1 Alan Pevec 2011-08-05 20:56:02 UTC
(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?

Comment 7 Alan Pevec 2011-08-19 19:54:52 UTC
> 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.

Comment 9 Joey Boggs 2011-08-22 02:30:27 UTC
o-c-setup no longer runs in  single/rescue mode so not an issue anymore

Comment 10 cshao 2011-08-22 02:40:57 UTC
(In reply to comment #9)
> o-c-setup no longer runs in  single/rescue mode so not an issue anymore

OK, thanks!

Comment 11 Mike Burns 2011-08-22 14:10:56 UTC
From previous comments on this bz, we need a way to set the admin user password from a single user or rescue environment.

Comment 12 Mike Burns 2011-08-22 14:13:39 UTC
Created attachment 519293 [details]
Patch

Comment 13 Mike Burns 2011-08-22 14:15:52 UTC
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

Comment 16 errata-xmlrpc 2011-12-06 19:21:02 UTC
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


Note You need to log in before you can comment on or make changes to this bug.