[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] agent corrupts /etc/shadow in CentOS 6


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: James King <jking@xxxxxxxxxxxx>
  • Date: Fri, 12 Oct 2012 11:24:47 -0400
  • Accept-language: en-US, en-CA
  • Acceptlanguage: en-US, en-CA
  • Delivery-date: Fri, 12 Oct 2012 15:26:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac2ojbRgd1DrzIPbQwy8KSR8CiWHTg==
  • Thread-topic: agent corrupts /etc/shadow in CentOS 6

I'm working on an issue we noticed in openstack where setting the root password 
on a CentOS 6 image through the XenAPI would corrupt the guest image's 
/etc/shadow file.

1. set the root password through XenAPI
2. log in to the account
3. `passwd` -- you should get an error.

To fix you can `rm /etc/shadow; pwconv`

I've tested against an Ubuntu XCP image and everything is fine there… seems to 
only affect CentOS 6
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.