LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2007, 06:51 AM   #1
LuckyMe
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Rep: Reputation: 0
Question home folder via network (ssh)


Hi,

not sure if this is the correct place, but as I consider myself still as a newbie to Linux I post it in here.

Got a Feisty server up and running, with OpenLDAP, Samba Domain and file share for my Windows machines. And also the Linux clients can authenticate versus the LDAP. So far so good.

Now I would like to have the users home folder to be located on the server. I have a folder there /data/home/<username> which is already in use for Windows - shared via Samba. And I would like to use the same folder for the users home folder under the Linux clients. No worries I have sorted out the above mentioned folders into subfolders for Windows and Linux and Desktop, etc.

How to I get the home folder on a Linux machine pointed to a network location, preferably via SSH?
I have tried with sshfs, receive a warning that the location I am mapping to is not empty (cause the login bash scripts are in the users home folder already) and if I set a flag to ignore this then it does not work either.

Do I map the home folder of the user that is logging in only - after user authentication? Or do I map the folder containing all the home folders of all users before login? Either way I do not know how?

Any hint is highly appreciated.

Cheers
... LuckyMe

Last edited by LuckyMe; 06-18-2007 at 06:56 AM.
 
Old 06-18-2007, 09:01 AM   #2
LuckyMe
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
How far would I get with the use of fuse and sshfs in the fstab? Something like this?

Code:
sshfs#dummyuser@monolith:/data/home /data/home/ fuse    defaults,auto    0 0
As I am not sure how FUSE works I am concerned that the dummyuser would be used for permission check on the remote drive and therefore the user would not be able to access their actually owned home folder?! Also I am not sure about the options default and auto or noauto, etc.

Any ideas?

Thanks
... LuckyMe
 
Old 06-18-2007, 09:22 AM   #3
LuckyMe
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Okay, if I am not wrong I can use certificates instead of username and password. But the certificate is supposed to be in the .ssh folder of the current user. Which user is used for fstab?

Cheers
... LuckyMe
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh problem over home network sharkus Linux - Networking 4 03-11-2007 08:19 PM
Mount shared folder in home network kiwidoc66 Linux - Networking 2 02-17-2007 07:07 PM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 08:00 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
ssh-keygen on network mnt /home ronin1 Linux - Software 4 10-06-2004 02:54 PM


All times are GMT -5. The time now is 03:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration