Christoph Maier wrote:
> Now that I have successfully installed a triple-boot system (Windows
> XP, ubuntu 6.10 [default], and Fedora Core 6), I'm trying to share
> files (e.g., the ~/.evolution mail archives) between the Linux
> distributions on the commonly mounted /data volume.
> 
> The gotcha is that ubuntu and Fedora assigned different UID to me,
> (1000 and 500, respectively).

So now you've found another "detail to worry about" section for your web
publishing endeavors.

> See http://www.kernel-panic.org/Members/cmaier/hamburger-lugnut-log/
> for my latest antics.
> Is it possible (and not too painful to bother) to change the UID of an
> existing user?

It is possible, and it's a nice little project, but on a new install, I
would just delete one of the users and re-add with a specified UID that
matches the other system. Specifying UID just means adding a -u1000
(say) to the useradd command -- see:

 man useradd

> Is it better to create a group that contains both users #500 and #1000??

If you wanted to keep track of OS-"owner", I suppose that might actually
be of some value, but in the normal case, I would vote for the simpler
case of matching UIDs.

> 
> Messing with UIDs looks like one of the things that don't look _too_
> hard, but may be a minefield of side effects...
> 

Yes, and sorta' (One discovers lots of system details like mail caches,
and sockets and session-data in /tmp). It's _fun_ learning about find
and xargs and chown, but in cases like yours, I'd just do userdel (and
homedir delete/move) followed by a useradd -u.

Regards,
..jim

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to