how to share a folder from linux to linux
how to share a folder from linux to linux systems and setting password to open that folder
|
You can use SAMBA to do that.
|
Quote:
|
Quote:
|
Quote:
and /etc/fstab for NFS client You can specify user and IP address allowed to mount it on NFS server |
Quote:
|
Quote:
|
Quote:
|
There are more than two network filesystems; and SAMBA is, frankly, a horrible piece of advice.
Consider how one mounts NFS , and consider the options in /etc/exports. Code:
man exports But what about SSHFS? The SSH File System? Thats a good way of using native ACLs and so on. In fact, there are several ways and methods that work if NFS does not have the options you want. samba, however, is not one of these; nor has it ever, nor will it be. |
Quote:
Samba is what came to my mind for the first time 'cos this can be achieved with samba, am I wrong there? I'd like to know how samba doesn't fit according to the OP's criteria? |
Quote:
if you want to have username/password prompting user on shared folders. I will do it by samba as well. |
It would be good if the OP gave more information about what needed to be mounted. When I first read his post, autofs came to mind but I was thinking/assuming he might have been talking about home dirs.
|
Quote:
|
Quote:
|
Quote:
samba is not a viable tool for *nix systems because of the major differences between permissions, ACLs and authentication. Which is why I suggested OP looks at what NFS can/cannot be configured to do and possibly use sshfs. In this case sshfs is the most viable option; sshfs is the hammer the nail needs. |
All times are GMT -5. The time now is 07:10 PM. |