[xen-tools] Re: installing centos5

From: Steve Kemp <steve_at_steve.org.uk>
Date: Tue, 7 Aug 2007 23:31:51 +0100
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/
Received on Tue Aug 07 2007 - 23:32:46 BST

Mailing list overview.