From: James King Subject: agent corrupts /etc/shadow in CentOS 6 Date: Fri, 12 Oct 2012 11:24:47 -0400 Message-ID: <40AC2ED0-ADA3-4880-8A55-EF29F17D954E@internap.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org I'm working on an issue we noticed in openstack where setting the root pass= word 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=85 see= ms to only affect CentOS 6