[Yum-devel] Re: enable yum to pass http data to repository

Michael Stenner mstenner at linux.duke.edu
Mon Nov 21 16:55:40 UTC 2005


On Fri, Nov 18, 2005 at 09:49:22PM -0500, Scott Russell wrote:
> Gotta chime in here and say that I would love to see userid and password 
> config options for yum repos. That said, the above while it works is 
> less than ideal. The idea of storing a password in the yum config file 
> isn't the best practice.

Where would you prefer to store it?  If you want to NOT store it, then
I suggest you use the yum environment variables, write a short wrapper
that prompts for the password, sets the variable and runs yum.  I
don't think it makes sense to build that functionality into yum
because people will often have multiple authed repos and designing a
password system that handles that well would be really ugly.

Now, if you simply want it somewhere else on your system, you can
always chmod 600 a single repo file.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G



More information about the Yum-devel mailing list