Bug 840080 - ovirt-config-password can not be used to set admin password
Summary: ovirt-config-password can not be used to set admin password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Mike Burns
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-13 16:00 UTC by Fabian Deutsch
Modified: 2016-04-26 20:18 UTC (History)
7 users (show)

Fixed In Version: 2.6.0
Clone Of:
Environment:
Last Closed: 2013-02-02 02:27:00 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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


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