Resolved the problem that redis modified requirepass and did not take effect

  • 2020-06-03 08:43:43
  • OfStack

I just got to redis. Since redis does not require security verification, I want to add security verification. I add requirepass admin to (configuration file under redis directory), but I restart the service

You can still operate redis at login without password authentication. redis-server It is found that the specified configuration file should be added when the service is started.

So when you start the redis service you need to specify 1 profile information for redis.

Related articles: