homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam

The Geek Culture Forums!


Post New Topic  New Poll  Post A Reply
my profile | directory login | | search | faq | forum home
  next oldest topic   next newest topic
» The Geek Culture Forums!   » Other Geeky Stuff   » Ask a Geek!   » $HOME sharing

 - UBBFriend: Email this page to someone!    
Author Topic: $HOME sharing
nerdwithnofriends
Uber Geek
Member # 3773

Icon 1 posted June 20, 2005 17:50      Profile for nerdwithnofriends     Send New Private Message       Edit/Delete Post   Reply With Quote 
Hey guys, do you think it's possible to share the home directory of a user between Mac OS X and linux? I think it would be pretty straightforward, just keep everything the same in OS X and modify the home directory location and UID to match OS X. That way file permissions would be the same and I could keep wasted disk space from partitioning to a minimum.

what do y'all think?

--------------------
"The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital computer or the gears of a cycle transmission as he does at the top of a mountain or in the petals of a flower." - Robert M. Pirsig

Posts: 948 | Registered: Mar 2005  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted June 20, 2005 18:38      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Bad idea. Odds are that you'll be using different versions of similar apps, and also that the different platforms put files in different locations. Create a separate partition on which to share your files - a "documents" location. I'm sure managing the partitions on that ought to be easy enough, and you won't have to worry about any apps fighting over the place. (Hint: .profile and/or .bashrc might right royally fsck your shell experience on one of the two platforms, or both, if the PATH is not set right, etc.)

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9345 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
csk

Member # 1941

Member Rated:
5
Icon 1 posted June 20, 2005 19:21      Profile for csk     Send New Private Message       Edit/Delete Post   Reply With Quote 
I dunno, dman, I'm not so sure. Here at work, we have NFS mounted home directories that we share for every Unix machine we login to. That includes Solaris/SunOS/various Linux flavours/etc. Hasn't caused too many problems that I've noticed.

--------------------
6 weeks to go!

Posts: 4455 | From: Sydney, Australia | Registered: Jan 2003  |  IP: Logged
drunkennewfiemidget
BlabberMouth, a Blabber Odyssey
Member # 2814

Member Rated:
4
Icon 1 posted June 21, 2005 07:35      Profile for drunkennewfiemidget     Send New Private Message       Edit/Delete Post   Reply With Quote 
I'm with csk. I nfs mount my home directory on all of my systems on my network at home, and it works quite well. I make sure that the uid remains the same for myself and Amanda across our home dirs, and all is well.

And we have a /home/shared which shares our gid and has g+rw on all the files so we can dump files in there for eachother's use.

Posts: 4897 | From: Cambridge, ON, Canada | Registered: Jun 2004  |  IP: Logged
csk

Member # 1941

Member Rated:
5
Icon 1 posted June 21, 2005 15:28      Profile for csk     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by drunkennewfiemidget:
I'm with csk. I nfs mount my home directory on all of my systems on my network at home, and it works quite well. I make sure that the uid remains the same for myself and Amanda across our home dirs, and all is well.

And we have a /home/shared which shares our gid and has g+rw on all the files so we can dump files in there for eachother's use.

As long as you don't give her the root password, that's best left until after marriage [Wink]

--------------------
6 weeks to go!

Posts: 4455 | From: Sydney, Australia | Registered: Jan 2003  |  IP: Logged
Cap'n Vic

Member # 1477

Icon 1 posted June 21, 2005 16:19      Profile for Cap'n Vic     Send New Private Message       Edit/Delete Post   Reply With Quote 
But do feel free to give the the root whenever you/she desires [Big Grin]

--------------------
(!) (T) = 8-D

Posts: 5471 | From: One of the drones from sector 7G | Registered: Jun 2002  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted June 21, 2005 17:57      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Well, I'm working on my Mac mini now, and given how it's directory structure is a mite bit different from traditional *nixes as far as many applications are concerned, I don't think I'd get a very sweet integration of preferences. My FF profile is in:
~/Library/Application Support/Firefox/Profiles/gibberish.deerpark

That's a bit of a far cry from ~/.mozilla||.firefox/default/gibberish.slt

That means I'd have to have 2 sets of bookmarks, history, cookies, etc. to maintain. *grumble*

I remember a few years ago, how happy I was when I upgraded my workstation at the time (now my server), and had ~ ($HOME) on a separate partition...I wiped out the hard drive, told it where to mount /home (and to *NOT* reformat), and as soon as it started, my wallpaper, shell history, icons, and /everything/ else was /*perfect*/. That was wonderful. [Smile]

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9345 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
drunkennewfiemidget
BlabberMouth, a Blabber Odyssey
Member # 2814

Member Rated:
4
Icon 1 posted June 21, 2005 18:52      Profile for drunkennewfiemidget     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by dragonman97:
Well, I'm working on my Mac mini now, and given how it's directory structure is a mite bit different from traditional *nixes as far as many applications are concerned, I don't think I'd get a very sweet integration of preferences. My FF profile is in:
~/Library/Application Support/Firefox/Profiles/gibberish.deerpark

That's a bit of a far cry from ~/.mozilla||.firefox/default/gibberish.slt

That means I'd have to have 2 sets of bookmarks, history, cookies, etc. to maintain. *grumble*

I remember a few years ago, how happy I was when I upgraded my workstation at the time (now my server), and had ~ ($HOME) on a separate partition...I wiped out the hard drive, told it where to mount /home (and to *NOT* reformat), and as soon as it started, my wallpaper, shell history, icons, and /everything/ else was /*perfect*/. That was wonderful. [Smile]

ln -s ~/Library/Application Support/Firefox/Profiles/gibberish.deerpark ~/.mozilla||.firefox/default/gibberish.slt ?

As for the root comment, it doesn't matter, I have root_squash turned on. [Wink]

Besides, I root her box daily. [Wink]

Posts: 4897 | From: Cambridge, ON, Canada | Registered: Jun 2004  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted June 21, 2005 20:33      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by drunkennewfiemidget:
ln -s ~/Library/Application Support/Firefox/Profiles/gibberish.deerpark ~/.mozilla||.firefox/default/gibberish.slt ?

Sorry I didn't elaborate - I'm pretty sure the path is replicated inside the prefs.js file in there. I guess it'd be a pipe dream to get that to work, but *shrug.* Technically, though, the fact that they're in two different spots in this case ought to allow the shared $HOME to be alright. Special cases could be made for things like .profile, to run different comments if a certain file is present on the HD (i.e. based on the presently mounted "/"). When I used to dual boot two different copies of Linux on my workstation, I kept all my files in the large /home partition, which was on the one I preferred, and then I symlinked all the directories of interest into the other $HOME. So in the less desirable distro/version, I might have done something along the lines of:
ln -s /mnt/hda2/home/dragon/Documents ./docs

That worked quite well for me, and avoided any ugliness of dealing with config files.

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9345 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
magefile
Highlie
Member # 2918

Member Rated:
5
Icon 1 posted June 21, 2005 21:58      Profile for magefile     Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by csk:
[QUOTE]s long as you don't give her the root password, that's best left until after marriage [Wink]

You should never give a gal (or anyone) your root password - that's what sudo is for!
Posts: 743 | From: Massachusetts | Registered: Aug 2004  |  IP: Logged
quantumfluff
BlabberMouth, a Blabber Odyssey
Member # 450

Member Rated:
5
Icon 1 posted June 22, 2005 10:00      Profile for quantumfluff     Send New Private Message       Edit/Delete Post   Reply With Quote 
I share home directories between a slew of different unix varients. The problem I find is getting .cshrc files to get paths right to tools that are only available on certain machines. I find this tool helpful for doing that.
Posts: 2902 | From: 5 to 15 meters above sea level | Registered: Jun 2000  |  IP: Logged


All times are Eastern Time  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | Geek Culture Home Page

© 2018 Geek Culture

Powered by Infopop Corporation
UBB.classicTM 6.4.0



homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam