Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-01-2003, 11:04 PM   #1
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
Share /home Directory

I'm running 2 distributions, Gentoo and SuSE, I installed SuSE first and created a partition for /home, now I would like to use that same partition for home with gentoo, I can create a new user, but my question is, if I have a user, for example patrick, with SuSE, I have the /home/patrick directory, now, can I create a patrick user with Gentoo and use the same /home/patrick directory with reading and writing atributions??
Old 09-01-2003, 11:10 PM   #2
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Yes, you should be able to do it. But I wouldnt. The only thing i'd share would be swap.

Basically, you are taking some risks in screwing up permissions and settings.

Most of your user settings are stored in your HOME directory. So if you change a settings in Gentoo (or vice versa) it could screw up your setup.
Old 09-01-2003, 11:15 PM   #3
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
I share the /home directory with several distributions with no major problems. The main concern is that different distros will give users different default gid/uid settings. Just make sure in /etc/passwd on both distributions that patrick has the same uid/gid and everything should work fine.
Old 09-01-2003, 11:17 PM   #4
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Yes, just make sure the UID (user id) and name is the same for both. I like my main user to have a uid of 500, because that is what it was when I first installed.

If it happens to be different and doesn't work, give this command:

chown -R 500.500 /home/<user>


chown -R <user>.<user> /home/<user>

That will reset the to the new install.
Old 09-02-2003, 02:26 PM   #5
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
To avoid messing up your personal configurations, use the same version of programs for the different installs.
Old 09-02-2003, 08:50 PM   #6
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
What I always do is to install the distro not using my /home partition. Then I will boot the new distro and mount my /home on /mnt/tmp. Now I can change my home directory to /mnt/tmp and login. If everything works OK then I edit /etc/fstab to automatically mount my /home partition. You can remove /home off the new distro to give you more space on the / partition.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Share definition on a folder under a home directory craig467 Linux - Software 9 06-07-2005 04:29 AM
Possible to share Home directory between SUSE 9.3 and Red Hat Enterprise Linux 4? Paramjeet Linux - Newbie 7 05-26-2005 10:29 PM
Samba :share files from home directory to an other user flashdelux Linux - Software 0 11-29-2004 01:57 PM
Can I share my /home directory.. GhostInDarkness Linux - Newbie 7 08-28-2003 04:02 PM
Share home directory cruella Linux - Newbie 4 01-22-2002 02:17 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration