LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-17-2006, 10:17 AM   #1
Nuvious
Member
 
Registered: Mar 2005
Posts: 34

Rep: Reputation: 16
Mount ftp with nfs using username and password?


Trying to mount to an ftp using nfs and the ftp requires a username and password. Right now I have:

mount -t nfs 192.168.1.100:/ /mnt/ftp

How do I incorporate a username and password into that?

Thanks in advance for any reply!
 
Old 05-17-2006, 10:44 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383

Rep: Reputation: 31
There are no username and password options for nfs mounts. Per the mount man-page:
Code:
Mount options for nfs
       Instead of a textual option string, parsed by the kernel, the nfs file
       system expects a binary argument of type struct  nfs_mount_data.   The
       program  mount  itself  parses  the  following  options  of  the  form
       ‘tag=value’, and  puts  them  in  the  structure  mentioned:  rsize=n,      wsize=n,   timeo=n,  retrans=n,  acregmin=n,  acregmax=n,  acdirmin=n,
       acdirmax=n, actimeo=n, retry=n, port=n,  mountport=n,  mounthost=name,
       mountprog=n,  mountvers=n, nfsprog=n, nfsvers=n, namlen=n.  The option
       addr=n is accepted but ignored.  Also the following  Boolean  options,
       possibly  preceded  by  no  are  recognized: bg, fg, soft, hard, intr,
       posix, cto, ac, tcp, udp, lock.  For details, see nfs(5).
You will probably have to write a wrapper in order to do this via NFS.
 
  


Reply


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 03:34 AM
Username/Password Help FindingWaldo763 Linux - Newbie 7 12-18-2005 07:15 PM
Can't seem to mount RH 7.3 on NFS, HTTP, or FTP bayoumama Linux - General 2 10-07-2004 01:59 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 04:45 AM
username and password for proxy (ftp install) dutty Mandriva 0 05-19-2004 12:24 PM


All times are GMT -5. The time now is 07:01 AM.

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