make yum.conf do a user ftp login for baseurl

Harry Putnam reader at newsguy.com
Sun Sep 5 00:31:27 UTC 2004


david walcroft <david_walcroft at yahoo.com.au> writes:

> [updates-ftp]
> name=Fedora 2 planetmirror ftp Updates
> baseurl=ftp://user:passwd@premium.planetmirror.com/pub/fedora/linux/updates/2/i386

You probably hadn't seen my post yet detailing why that sort of
address scheme doesn't work inside my [unresolvable via dns] lan.

ftp apparently uses dns to find the host when address is of the
`ftp://' type.  So for me.
  ftp my.local.host
works but
  ftp://ftp.my.local.host
does not.

Apparently the former searches no further than my /etc/hosts file
and the later uses a dns lookup on line.

So I'll need some kind of scheme to get the uid and passwd passed into
the baseurl.
 
any guesses? 





More information about the fedora-test-list mailing list