[Tuxaloosa] mapping a network share in fstab

E.H. leprkhn at gmail.com
Fri Sep 25 16:54:20 UTC 2009


that's what i did.
//storage/leprkhn /media/storage smbfs
credentials=/home/leprkhn/.smbpasswd,fmask=666,dmask=777 0 0
 /home/leprkhn/.smbpasswd look like this:
username=username
password=password

thanks guys!


On Fri, Sep 25, 2009 at 11:41 AM, Robby Workman <rw at rlworkman.net> wrote:

> On Fri, 25 Sep 2009 11:12:13 -0500
> "E.H." <leprkhn at gmail.com> wrote:
>
> > how do i?
> > i have \\storage\share shared out with samba. you need username and
> > passwd to get to it. how do i set this up in my local fstab?
>
>
> See mount.cifs(8) - basically, you add a mount option to specify a
> credentials file, and put the relevant information in that file.
> For example:
>
>  //storage/share /mountpoint cifs credentials=/etc/cifs_creds 0 0
>
> You'd obviously wnat /etc/cifs_creds to be readable and writable
> by only root, and its contents would look something like this:
>
>  username=somebody
>  password=somepass
>
> -RW
>
>
> _______________________________________________
> TUXaloosa mailing list
> TUXaloosa at tuxaloosa.org
> http://tuxaloosa.org/mailman/listinfo/tuxaloosa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tuxaloosa.org/pipermail/tuxaloosa/attachments/20090925/1418bb90/attachment.htm>


More information about the TUXaloosa mailing list