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
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/shadowfile.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; pwconvI'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