LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-04-2005, 07:41 PM   #1
linuxInIndy
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 09-04-2005, 08:11 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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
 
Old 09-04-2005, 08:32 PM   #3
linuxInIndy
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 09-04-2005, 08:37 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 09-04-2005, 09:00 PM   #5
linuxInIndy
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply


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
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
user home dir/permissions xilace Linux - Security 5 07-21-2004 12:33 PM
recover user and home dir powadha Linux - General 5 04-16-2004 09:08 AM
can two distros share a /home dir ? ruwach Linux - Distributions 3 03-06-2004 08:37 PM
Lock user in their home dir MarleyGPN Linux - Software 1 04-26-2003 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:46 PM.

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