LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   multiple distros/one home dir/user (https://www.linuxquestions.org/questions/linux-general-1/multiple-distros-one-home-dir-user-360230/)

linuxInIndy 09-04-2005 07:41 PM

multiple distros/one home dir/user
 
how do i set up one /home/user dir for mutiple distro's
I want to be able access all files with different apps and under different distro's

jailbait 09-04-2005 08:11 PM

"how do i set up one /home/user dir for mutiple distro's
I want to be able access all files with different apps and under different distro's"

You place /home on a seperate partition. Then in each distribution's /etc/fstab file you mount the /home partition on your /home directory.

-----------------------
Steve Stites

linuxInIndy 09-04-2005 08:32 PM

Thanks jailbait, but will that also allow user /home/abc to open his Qcad drawing running in PCLinuxOS in Qcad in Mepis or Qcad in Ubuntu. Ditto with email programs xiam or mozilla.

jschiwal 09-04-2005 08:37 PM

You may be setting yourself up for a case of dueling distros. Especially when different distros have different versions of KDE or Gnome and different menu structures. I would recommend that you use separate home directories in a common /home partition. You could use symbolic links for common subdirectories such as Documents, Music, Downloads.
What you probably don't want in common is the hidden directories that KDE and Gnome use. For other hidden directories, such as ~/.ssh/, you might want either replicate the information from one home directory to another or replace them with links to a common directory.

You could for example use a common user name but have the home directory referred to in /etc/passwd have the distro name appended. For example:
In SuSE: /home/Lindy_SuSE
In RH: /home/Lindy_RH
In Mandriva: /home/Lindy_Mand

You will need to make sure to use the same UID and default GID for the user, so that you have access to the common directories which ever distro you are using at the time. SuSE and Mandrake use a different default range for user UID numbers.

linuxInIndy 09-04-2005 09:00 PM

Thanks jschiwal, I'm going to have to dig into this a little. Quite a bit beyond my current capabilities.
I wasn't sure if I wasn't being blind-sided by a "daaa ...read the how-to's". Thanks again.

Dan in Indy


All times are GMT -5. The time now is 06:23 PM.