SMBFS Mount with fstab?

Frank Kumro fkumro at gmail.com
Thu Apr 14 15:25:26 EDT 2005


Thank you!! 

On 4/14/05, Cyber Source <peter at thecybersource.com> wrote:
> Ok, here is a quickie,
> 
> NFS Sharing Setup
> 
> Server setup:
> 
> 1. Add an entry in /etc/exports that will be what you want to share. One
> line format as "/Files 192.168.1.0/255.255.255.0(rw)". This will share
> the directory (and everything under it) /Files for all on the local
> subnet with read/write permissions.
> 2. For security, put "portmap:ALL" in /etc/hosts.deny, this will prevent
> scanning for nfs shares,etc.
> 3. Edit /etc/hosts.allow and put "portmap: 192.168.1.0/255.255.255.0",
> this will let anyone on the local subnet add your shares from /etc/exports.
> 4. Make sure the services "portmap" and "nfs" are running.
> 
> Client setup:
> 
> 1. Create the mountpoint that you want for the share.
> 2. Edit your /etc/fstab file as "192.168.1.220:/Files     /Files
> nfs    rsize=8192,wsize=8192,timeo=14,intr". This will add the share of
> the directory /Files on the server at 192.168.1.220 and mount it on your
> system at /Files. The other configs are for how the share acts and are
> defaults.
> 
> 
> Frank Kumro wrote:
> 
> >I totally forgot about NFS. Where do I start? Both machines are Fedora Core 3...
> >
> >On 4/14/05, Cyber Source <peter at thecybersource.com> wrote:
> >
> >
> >>It is possible but if you have a Linux server and a Linux workstation,
> >>NFS is WAY better and very simple to setup. If you need help with that,
> >>let me know.
> >>
> >>Frank Kumro wrote:
> >>
> >>
> >>
> >>>Currently I am mounting shares off of our linux server using
> >>>
> >>>sudo mount -t smbfs -o username=Linux,password=Guess
> >>>//xxx.xxx.xxx.xxx/public_html eagle/
> >>>
> >>>and i was wondering how could I put this is fstab so it automatically
> >>>mounts the share on boot? Is this possible with fstab or do I have to
> >>>use some other method? Also I want it so any user can write to it
> >>>(since i am the only user and i have to sudo to mkdir,rm etc). Any
> >>>help would be great :)
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
> 


-- 
Frank
Shenanigans!!




More information about the nflug mailing list