[xen-tools] Re: Split --passwd into two new options?
Steve Kemp
steve at steve.org.uk
Fri Jun 23 19:39:06 CEST 2006
On Fri, Jun 23, 2006 at 01:32:47PM -0400, Asheesh Laroia wrote:
> I omit --passwd on this Fedora system, and it doesn't seem to copy the
> users to the new domU. Is that a bug...?
Sounds like it!
You can test this manually by running:
mkdir /tmp/test
mkdir /tmp/test/etc
/usr/lib/xen-tools/debian.d/60-copy-host-files /tmp/test
You should be left with /tmp/test/etc/passwd with the accounts
copied over. (You'll also see an error about failure to read
/etc/shadow if you run it as non-root, thats not a problem.)
I guess what could be happening is that on your non-Debian system
the users who've been added will have UIDs <1000. The script tries
to copy only non-system users, which it does by testing for UID.
An alternative might be to copy over only users who have a UID
not already in use in the new system.
Steve
--
More information about the xen-tools-discuss
mailing list