Re: yum authenticaiton problem

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1180614447.16538.0.camel@rivendell>
On Thu, 2007-05-31 at 15:07 +0800, 张小川 wrote:
> hello everyone:
>     I'm a newbie.Recently I began to set up an update system for my
> lab,because our servers are all centos,I chose the yum.
>     I set up a main server as the yum server,some remote servers were
> connceted to it to update rpm packages.
>     I wrote repo file on remoteservers like this:
>     baseurl=ftp://username:password@address/path
>     but I found a problem,and till now ,I can't solve it.So I need
> your help.
>      The question is this:
>      How can I hide the username and password or password only,or make
> the url invisible,in order to make my main server secure.
>      Your help will be grateful,and forgive my poor English.
>      thank you 

chmod 600 /etc/yum.conf /etc/yum.repos.d/*

that will keep anyone other than root from seeing that file.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.