LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-06-2013, 02:54 PM   #1
wischad
LQ Newbie
 
Registered: Apr 2009
Location: Madison, WI
Distribution: Red Hat, CentOS, SUSE
Posts: 21

Rep: Reputation: 1
Use SSHFS for Home Directory Mounts on CentOS 6


Since we do not have kerberos set up (NFSv4) and NFSv3 is not the most secure, we were wondering if anyone is using sshfs for centralized home directory mounts?

I'm going to try to get this to work. The challenge seems to be in making sure that on the "home directory server" end that ACLs will be maintained. For example, if I configure an sshfs mount in /etc/fstab to be mounted at boot, whatever user I put in the /etc/fstab file will be what everyone who accesses the directory will use on the destination. If I use root in the /etc/fstab with key authentication and if joe signs in and interacts with his home directory, it will be showing up as root instead of joe.

I just wanted to see if anyone else has documentation for how to set this up. I'm going to try to use autofs to mount this at the time a user signs in. The idea is that when the user signs in, their home directory will be mounted via sshfs as themselves.

Chad
 
Old 05-06-2013, 03:54 PM   #2
siremaxus
Member
 
Registered: May 2013
Posts: 75

Rep: Reputation: Disabled
Hi,

You could try this:
http://www.staldal.nu/tech/2010/08/2...shfs-in-linux/

hope this helps...

Sire Maxus
 
Old 05-07-2013, 09:31 AM   #3
wischad
LQ Newbie
 
Registered: Apr 2009
Location: Madison, WI
Distribution: Red Hat, CentOS, SUSE
Posts: 21

Original Poster
Rep: Reputation: 1
Thanks but I'm not sure how to adapt this to CentOS 6. This was written for Ubuntu. If anyone knows the equivalent to some of the options in the link I'm all ears.
 
  


Reply



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
Sharing a home directory on CentOS box McFex Linux - Newbie 7 09-12-2011 06:46 PM
Sharing a file system containing nfs- and sshfs-mounts (Centos 5.5 64 Bit) geolino Linux - Server 0 02-07-2011 06:36 AM
Limit mount points of SSHFS to just user's home directory GATTACA Linux - Software 4 04-24-2010 09:20 AM
how to mount the /home from a server exporting /home via SSHFS? frenchn00b Linux - Server 2 12-05-2009 03:55 PM
Home networking with SSHFS? Umanga Linux - Networking 2 03-13-2007 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:26 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