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 725984

Summary: Provide way to set admin password from single/rescue mode
Product: Red Hat Enterprise Linux 6 Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: apevec, gouyang, leiwang, mburns, moli, ovirt-maint, ycui
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-node-2.0.2-0.2.git1b3c2f5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 19:21:02 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:
Attachments:
Description Flags
lock button disappear
none
Patch none

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