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

Matus UHLAR - fantomas uhlar at fantomas.sk
Wed Jul 10 16:20:55 UTC 2024


On 10.07.24 08:52, Jonathan Lee wrote:
> That makes sense, I only had a password in the previous version, how do I 
> add username admin for cachemgr?  

you don't, that's why I said "username was not important"
simply try random username

>> 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.
Boost your system's speed by 500% - DEL C:\WINDOWS$\*.*


More information about the squid-users mailing list