Changing my UID and GID

Net Llama! netllama
Mon May 17 11:59:44 PDT 2004


On Tue, 24 Feb 2004, Michael Hipp wrote:
> I may need to change my UID and GID so I can share /home between two
> different distros. Will this procedure do the trick?
>
> 1. Edit /etc/passwd and change the UID there
> 2. Edit /etc/group and change the GID there
> 3. Do 'chown -R newuid:newgid /home/goober'
>
> Is there anything more to do? Any problems this will present?

Assuming that you don't have any UID or GID conflicts, that should do the
trick.

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


More information about the Linux-users mailing list