[squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined

Jonathan Lee jonathanlee571 at gmail.com
Wed Jul 10 15:52:44 UTC 2024


That makes sense, I only had a password in the previous version, how do I add username admin for cachemgr? I don’t have a username configured yet, I can’t find the directive for cachemgr username
Sent from my iPhone

> On Jul 10, 2024, at 04:29, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
> 
> 
>> 
>>> On 2024-07-08, Jonathan Lee <jonathanlee571 at gmail.com> wrote:
>>> squidclient -h 192.168.1.1:3128 mgr:info at PASSWORD squidclient -h
>>> 1287.0.0.1 mgr:info at PASSWORD
>>> 
>>> Gives the following error
>>> 
>>> Embedding a password in a cache manager command requires providing a =
>>> username with -U: mgr:info at PASSWORDHERE
> 
>> Try "/squid-internal-mgr/info" where you have "mgr:info".
> 
>> On 09.07.24 16:30, jonathanlee571 at gmail.com wrote:
>> Thanks that also gave the error access denied
> 
> have you tried providing -U (and maybe -W) options to squidclient?
> Because that one looks like squidclient error to me.
> 
> in previous versions username was not important for manager queries, just the password, which should be either part of user or provided by -W option
> 
> --
> Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Christian Science Programming: "Let God Debug It!".
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list