Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 840080

Summary: ovirt-config-password can not be used to set admin password
Product: [Retired] oVirt Reporter: Fabian Deutsch <fdeutsch>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dyasny, jboggs, mburns, mgoldboi, ovirt-bugs, ovirt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-02 02:27:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabian Deutsch 2012-07-13 16:00:08 UTC
Description of problem:
o-c-password fails with a "token manipulation error" if it's used to set the admin password.

Version-Release number of selected component (if applicable):
A recent F17 build

How reproducible:
Always

Steps to Reproduce:
1. Install F17 using auto install (don't know yet if ai is relevant)
2. Login and drop to shell
3. run /usr/libexec/ovirt-config-password
  
Actual results:
Password can not be set because passwd fails with "token manipulation error"

Expected results:
Password can be set

Additional info:
It seems that passwd changed, strace reveals that it tries to rename /etc/nshadow to /etc/shadow, this fails on our (ro) setup

Comment 1 Fabian Deutsch 2012-07-13 16:02:31 UTC
The ovirtnode.password py-module is not affected and can be used to change the password (so TUI is not affected)

Comment 2 Fabian Deutsch 2012-07-19 11:49:22 UTC
Proposed patch:

http://gerrit.ovirt.org/#/c/6454/

Tests are pending.

Comment 3 Joey Boggs 2013-02-02 02:27:00 UTC
patch was merged in July, works in current release