Matching user specs for multiple distros

Net Llama! netllama
Mon May 17 11:39:08 PDT 2004


n 10/20/02 10:22, Collins wrote:

> On Sun, 20 Oct 2002 15:20:22 -0700 Jim Bonnet
> wrote:
>
> >Collins wrote:
> >
> >
> >>I keep all my home stuff in a /home partition.  Since most of my
> >>partitions are versions of gentoo, the userid's match up and I am
> >>able to use /home without any complaints.  Now I beginning to
> >>experiment again with other distros, and I can't mount and use
> >>/home successfully, because the user numbers don't match.
> >>
> >>For example, I created a LRs-linux 3.0 system (automated version of
> >>LFS).  I've toyed with /etc/group and deleted and readded the
> >>collins user several times, but I can't get LRs-linux to use the
> >>same user number as I was on gentoo, so of course my collins user
> >>on LRs can't use my /home files.
> >>
> >>I'm sure I will encounter the same problem with Redhat which I am
> >>downloading now.
> >>
> >>Can anyone help?
> >>
> >>TIA,
> >>
> >>
> >
> >your uid and gid needs to be the same across distros..
> >
> >probably each distro creates its own uid for your shared user...
> >
>
>
> That much I know, but I can't seem to convice LRs to use the same
> values.

I'm not sure that its possible to force them to use the same values. 
Your best bet mighht be to fix them in /etc/passwd and /etc/group post 
install.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   4:15pm  up 8 days,  4:33,  1 user,  load average: 0.12, 0.21, 0.45



More information about the Linux-users mailing list