[xen-tools] Re: installing centos5
Steve Kemp
steve at steve.org.uk
Wed Aug 8 00:31:51 CEST 2007
On Wed Aug 08, 2007 at 00:09:10 +0200, Anton Melser wrote:
> It's tomorrow! :-)
:P
> 1. addgroup doesn't exist by default for centos5, it's groupadd. btw,
> groupadd and useradd both exist on both target platforms... maybe they
> would be better?
I'll fix that.
> I'll try and see why passwd isn't prompting for at the real tomorrow
I guess you're seeing this:
skx at vain:/tmp$ sudo chroot /tmp/f /usr/bin/passwd root
Changing password for user root.
passwd: Authentication token manipulation error
To fix that run this first:
perl -pi.bak -e "s/^root:\*:/root:foo:/g" /tmp/f/etc/passwd
I'm not sure why that is necessary, or even why passwd matters compared
to shadow ..
Steve
--
http://www.steve.org.uk/
More information about the xen-tools-discuss
mailing list