SQUID:如何禁用身份验证? [英] SQUID: How to disable authentication?
问题描述
我有一个可以使用身份验证的Squid.如何暂时禁用身份验证?我可以从squid.conf中注释掉以下几行吗?
I have a working Squid with authentication. How do I temporarily disable authentication? Can I just comment out the following lines below from squid.conf:
acl ncsa_users proxy_auth必填
acl ncsa_users proxy_auth REQUIRED
还有
auth_param基本程序/usr/lib/squid3/ncsa_auth/etc/squid3/passwd auth_param基本儿童5 auth_param基本领域Squid代理缓存Web服务器 auth_param基本凭证tt1 2小时 auth_param基本区分大小写
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialstt1 2 hours auth_param basic casesensitive off
或者,我可以仅禁用ACL组的身份验证吗?
Or, can I just disable authentication for an acl group?
提前谢谢
推荐答案
我解决了..我刚注释掉
I solved it.. I just commented out
#auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd
,然后注释掉acl ncsa_users proxy_auth必需
and then commented out acl ncsa_users proxy_auth REQUIRED
#acl ncsa_users proxy_auth REQUIRED
acl ncsa_users dst 10.244.0.0/16全部
acl ncsa_users dst 10.244.0.0/16 all
然后重启鱿鱼
我希望有人会觉得这有用.
I hope someone may find this useful.
这篇关于SQUID:如何禁用身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!