In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article shows how redis validates settings for users. The code is concise and easy to understand if you encounter this question in your daily work. I hope you find a way to solve your doubts through this article.
Set authentication password
There are ways to set authentication passwords:
1) Modify the configuration file redis.conf settings:
2)The config command allows you to set passwords and obtain current user passwords, as follows:
redis 127.0.0.1:6379[1]> config set requirepass 123456 OK redis 127.0.0.1:6379[1]> config get requirepass 1) "requirepass" 2) "123456"
3)After setting the authentication password, redis service shutdown requires password authentication to be successful, so the command is modified to:
$ redis-cli -a 123456 shutdown
After reading the above, do you know how redis authenticates users? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.