[Tuxaloosa] mapping a network share in fstab

E.H. leprkhn at gmail.com
Fri Sep 25 17:37:18 UTC 2009


scratch that. robby was right in that i had to use cifs instead of smbfs.
dmesg told me that smbfs has been depreciated. who knew?

On Fri, Sep 25, 2009 at 11:54 AM, E.H. <leprkhn at gmail.com> wrote:

> 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/eb1b3d45/attachment.htm>


More information about the TUXaloosa mailing list