LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2007, 02:58 AM   #1
ask
LQ Newbie
 
Registered: Oct 2005
Location: Amsterdam, The Netherlands
Distribution: Ubuntu 11.10 amd64, Puppy, FreeNAS 8.0.2
Posts: 13

Rep: Reputation: 0
Mount a remote homedir at logon: How to share a Firefox profile between two machines?


Hi everyone,

I think this has to do most with networking, so I just put my 'challenge' here.

I have two linux boxes at home, alternately used by two different users. I'd like to be able to run Firefox and Thunderbird from either machine using only one (shared) profile. However, the profilemanager Firefox provides doesn't see the shares I can connect to using the file browser. Therefore I've created a profiles directory in my home directory on one machine, which I've shared using samba. Right now I'm trying to mount my home directory at login on the other machine. And still haven't succeeded.

Some info:
two linuxboxes: 1) machine1 on fc7, 2) machine2 on fc5
The profiles directory is in my home dir on machine1

I can mount my home dir (machine1) on machine2 without any problems:
mount.cifs //machine1/homedir /home/user1/folder -o credentials=/home/user1/filename.txt
works great.

But how to to this at login? I've tried adding this line to my .bash_profile, but that doesn't seem to work; nothing happens. I haven't been able to find a solution to a similar problem on the internet. Perhaps I should try and find a workaround? I'd like to do this as simple as possible.

gr. Ask
 
Old 07-25-2007, 03:44 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I think that "autofs" supports Samba/CIFS. The autofs service automatically mounts a shared directory when it is requested, so that you don't need to explicitly run mount commands.
 
  


Reply

Tags
automount


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to mount samba share with " " in the remote path dohpaz Programming 2 10-20-2006 02:18 PM
trying to share a printer between 2 windoze machines? asif2k General 1 07-22-2006 02:29 AM
Logon script works for W98 NOT 2K/XP but all machines log onto the domain properly! cyberdiamond Linux - Networking 11 09-13-2005 09:01 AM
How can I share my printer with Windows machines? unzari Fedora 1 07-21-2005 05:18 PM
how to share files between two linux machines mchitrakar Linux - Newbie 4 08-12-2004 07:24 AM


All times are GMT -5. The time now is 05:43 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration