Results 1 to 3 of 3
Hello,
I am very new to Linux. I have an iomega NAS that I use for storing my media and documents that I share between multiple PC's. I have added ...
- 10-23-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
Fedora 11 How to map cifs shares from my NAS at bootup
Hello,
I am very new to Linux. I have an iomega NAS that I use for storing my media and documents that I share between multiple PC's. I have added a Fedora 11 box to the mix.
I have no authentication architecture on my network. On the NAS, my shared folders are configured for "Everyone" access.
I would like to mount these shares (share, photos, videos, music) automatically for all users in Fedora. I added the following information to the fstab file for these shares:
//x.x.x.x/share /mnt/localdir cifs _netdev,user 0 0
(I used _netdev because I had a prior problem where fedora would lock up trying to mount these drives before the network was up)
The shares do not mount on boot. I can mount them from terminal but must do so as root. I am prompted for the root password for each share I mount (5 times). I would rather not do this.
I tried adding /bin/mount and the STORAGE alias rights to myself in sudoers but I am still told that "only root can do that."
Can somebody please help me figure out how to configure it so that either during boot, or after login via script, my shares are mounted without having to enter my root pw five times?
Thanks in advance,
elmulletlargo
- 10-23-2009 #2
use the options username= and password= in the fstab file, the user you are using to access may or may not have a password, but you need to keep password= and leave it blank, like this
Code://host/share /mnt/host/share cifs username=Guest,password= 0 0
- 10-23-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
Thanks
Worked like a charm. Thanks!
elmulletlargo


Reply With Quote