Fedora Linux Support Community & Resources Center
Old 16th June 2004, 10:25 PM
bob49 Offline
Registered User
Join Date: Jun 2004
Posts: 4
mount.cifs in /etc/fstab

With the latest version of the kernel (2.6.6-1.435) I can at last mount shared Windows 2k folders using the command as root:

mount -t cifs //win2kmachine/D$ /home/myname/windows -o user=myname,pass=mypasswd

One problem is that if I use:
-o credentials=filename
it doesn't work and produces error 13.

It would be useful to put this share either into /etc/fstab or as a line into /etc/rc.d/rc.local so that it all starts up automatically. I can put the mount command as written but then the password is easily available. Is there a better way? How can I put this into /etc/fstab?


Reply With Quote

mountcifs, or etc or fstab

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cifs mounts in fstab after Fedora 9 kpj104 Using Fedora 6 16th May 2008 02:30 PM
non-root cannot mount user cifs mount point rgladwell Servers & Networking 2 6th August 2006 05:50 PM
CIFS and fstab problems Gsundbrunn Fedora Core 5 - Dev 3 14th April 2006 12:11 PM
smbfs/cifs mount point in fstab not mounting on boot rgladwell Servers & Networking 5 15th January 2006 11:05 PM

Current GMT-time: 03:20 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat