Welcome to the most active Linux Forum on the web.
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 05-17-2006, 11:17 AM   #1
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 /mnt/ftp

How do I incorporate a username and password into that?

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

Rep: Reputation: 53
There are no username and password options for nfs mounts. Per the mount man-page:
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.


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 13 04-12-2016 12:30 AM
Username/Password Help FindingWaldo763 Linux - Newbie 7 12-18-2005 08:15 PM
Can't seem to mount RH 7.3 on NFS, HTTP, or FTP bayoumama Linux - General 2 10-07-2004 02:59 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 05:45 AM
username and password for proxy (ftp install) dutty Mandriva 0 05-19-2004 01:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:40 AM.

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