[Yum] Re: Usernames, Passwords and yum

Nathanael Noblet nathanael at gnat.ca
Mon May 31 23:00:40 UTC 2004


On Monday, May 31, 2004, at 03:22 PM, Michael Stenner wrote:

> On Mon, May 31, 2004 at 05:59:32PM -0400, Tom Diehl wrote:
>> On Mon, 31 May 2004, Nathanael Noblet wrote:
>>> On Monday, May 31, 2004, at 01:57 PM, Tom Diehl wrote:
>>>> I am trying to get yum to use an ftp based repository that is not
>>>> publicly
>>>> accessible. As a result I need to pass a username and passwd to the 
>>>> ftp
>>>> server. Does anyone know how to get yum to do this? There does not
>>>> seem to be
>>>> anything in the docs about this.
>>>
>>> This is a guess & assumption, yum uses a 3rd party software package 
>>> to
>>> talk http/ftp I would guess you can do
>>> ftp://username:password@site/path
>
> I'm not sure if I'd call it "3rd party" :)  Basically, urlgrabber
> (which came into existence as part of yum) is a layer over urllib2.
> urllib2 is one of the standard python modules.

Oh my bad, I didn't know they had gone above and beyond the python 
modules. Which is why I said 3rd party... meaning not part of yum, but 
actually part of the language ( or a module included with it etc)..
-- 
Nathanael D. Noblet
Gnat Solutions
412 - 135 Gorge Road E
Victoria, BC V9A 1L1

T/F 250.385.4613

http://www.gnat.ca/




More information about the Yum mailing list