Skip to contentSkip to conversation

agent corrupts /etc/shadow in CentOS 6

DISCUSSION James King 2 participants 2 messages Oct 12, 2012

lore
Share & tools
lore

James King

author
#0 lore raw

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

#1 lore raw

CCing xen-api list where XenAPI/XCP development happens.

Quoted 6 lines · James King

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.

Quoted 7 lines

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
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel