Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-06-2008, 05:44 AM   #1
Registered: Aug 2005
Posts: 34

Rep: Reputation: 15
Mount windows share


i want mount windows share in fedora 8. wile mount windows share its asking password .. in this passwd i have to pass through text file how to do it or how can i mount with out entering password windows share but i have passwd in windows share

kindl help me

with regards
Kutty N
Old 06-06-2008, 06:43 AM   #2
LQ Newbie
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Pls try this!

I don't understand want you are expecting.
suppose you have added windows password in a file(eg:/etc/test.txt),you can call this file when mounting the share.
Eg;#mount -t cifs -o rw //<ipadd-win-machine>/<share-name> -o username=<username in win machine>,password=`cat /etc/test.txt` <mount point>
##mount -t cifs -o rw //<ipadd-win-machine>/<share-name> -o username='<username>%`cat /etc/test.txt`' <mount point>

Just try this.
Old 06-08-2008, 11:54 PM   #3
Registered: Aug 2005
Posts: 34

Original Poster
Rep: Reputation: 15
yes .. i got


thanks i got the solution
example = mount // /mnt/win/ -o credentials=/root/.smbcred


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
using smbfs to mount windows share snowman81 Linux - Software 4 04-23-2008 06:28 AM
Cannot mount Windows Share!! charles20hk Linux - Networking 3 11-29-2006 04:03 AM
when trying to mount a windows share I'm getting jcombs_31 Slackware 11 01-04-2006 07:48 PM
mount windows share at boot up saavik Linux - Networking 2 02-04-2004 12:49 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration