Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法单独设置管理员密码,普通用户提示 ERR NOAUTH Authentication required #2920

Closed
zwc456baby opened this issue Oct 7, 2024 · 8 comments
Labels
☢️ Bug Something isn't working

Comments

@zwc456baby
Copy link

Is this a regression?

Yes

Description

配置如下:

requirepass : xxx(管理员密码)

userpass: 

userblacklist : FLUSHALL

设置了管理员密码,然后将 userpass 设置为空,这样普通用户无需密码即可使用,对于管理命令,如:FLUSHALL 等,需要管理员密码登录才可使用。在 3.5.2 版本中,工作正常,升级到 3.5.5 后,普通用户无法连接 pika ,提示:ERR NOAUTH Authentication required

需要去除 requirepass 才可以正常连接使用,如下:

requirepass : 

userpass: 

userblacklist : FLUSHALL

只有两项均为空,才可以无需密码连接,无法单独设置管理员密码

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)

Version: 3.5.5
System: Ubuntu 24

Anything else?

No response

@zwc456baby zwc456baby added the ☢️ Bug Something isn't working label Oct 7, 2024
@zwc456baby
Copy link
Author

zwc456baby commented Oct 7, 2024

如图:

经过测试,从 3.5.3 开始就有这个问题,不知道是本身的默认策略已经改变,还是属于 bug?

以下是配置
微信截图_20241007205311

https://images.zwc365.com/i/2024/10/07/205323.png

以下是 3.5.3 的测试,提示无权限
微信截图_20241007205058

https://images.zwc365.com/i/2024/10/07/205129.png

以下是 3.5.2 的测试,能正常获取到值
微信截图_20241007205221

https://images.zwc365.com/i/2024/10/07/205233.png

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


As shown in the picture:

**After testing, this problem has occurred since 3.5.3. I don’t know if the default policy has been changed, or is it a bug? **

The following is the configuration
WeChat screenshot_20241007205311

The following is a test of 3.5.3, prompting no permissions
WeChat screenshot_20241007205058

The following is the test of 3.5.2, the value can be obtained normally
WeChat screenshot_20241007205221

@chejinge
Copy link
Collaborator

用密码链接 不要直接链接即可

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Use password link instead of direct link

@chejinge
Copy link
Collaborator

不使用密码的后续我们会改代码

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


If you don’t use a password, we will change the code in the future.

@buzhimingyonghu
Copy link
Contributor

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Solved, the idea is as follows https://cv9vkf72u6.feishu.cn/docx/Nq85dABj0o7yyhxLsvccZVa6nQe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants