On Sat, 16 Apr 2005 09:45:06 -0700, Mark Knecht wrote:

>    Instead of using useradd to create user accounts can I just edit
> /etc/passwd & /etc/group and place identical entries in the Gentoo
> side as the FC2 side and then have both distros use the same home
> directories? (Without Gentoo actually creating them?) I'd then run
> passwd for each user and hopefully folks could log in. Or is there
> more to creating a new user account?

That should work, but you may run into problems sharing a home directory
between two distros. When I tried this with Mandrake and Gentoo, my KDE
settings kept getting screwed up, because both distros stored the settings
in ~/.kde but were running slightly different versions.

The solution I used was to do as you have done and have the same user
names and UIDs on both distros, but use a different home directory, like
/home/neil and /home/neil-gentoo. I then symlinked the directories I
wanted to share, like my mail and documents from the former to the latter.

It worked perfectly for the few weeks it took me to decide I no longer
needed Mandrake.


-- 
Neil Bothwick

"Bother," said Pooh, as he said f**k in the wrong conference.

Attachment: pgpQxeWM98Yeb.pgp
Description: PGP signature

Reply via email to