简体   繁体   中英

CentOS 7 yum basic authentication

For whatever reason, yum for CentOS 7 isn't using Basic Authentication to authenticate with the http proxy when using the proxy_username and proxy_password lines in yum.conf. CentOS 6 used to use Basic but CentOS 7 is trying ntlm (which is supposed to fail). Is there a way to force basic?

in /etc/yum.conf set
proxy=http://<usernane>:<password>@proxy-url:port

for me it helps with ntlm auth

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM