Resetting Lost Redis Server Admin Password

Linux Cat
Resetting Lost Redis Server Admin Password

How to reset redis admin password

# netstat -luntap | grep redis

You should get output similar to:

tcp 0 0   127.0.0.1:6379          0.0.0.0:*                  LISTEN                 26789/redis-server
tcp 0 0   127.0.0.1:6379         127.0.0.1:44812      ESTABLISHED     26789/redis-server

Test a connection to redis:

# redis-cli ping

You should get back:

PONG

Create a new password using md5 password hashes by typing

# echo -n "linuxsecrets" | md5sum

The password is now "linuxsecrets" without the "".

Then to set the admin user password to linuxsecrets run the following:

# redis-cli SET user.admin.password e68ac4089320c6f8273fcdc1119b1507

That's it, now just login with admin user and password linuxsecrets.

 

 

 
11
Creating Ubuntu 18.04 Masquerade

By accepting you will be accessing a service provided by a third-party external to https://www.linuxsecrets.com/

© 1984 - 2021 Linuxsecrets.com. All Rights Reserved.