Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 511 Bytes

list-redis-users-and-permissions.md

File metadata and controls

21 lines (14 loc) · 511 Bytes

List Redis Users And Permissions

Category: Redis

You can list users and permissions which have been configured in the Redis auth file with the ACL LIST command:

127.0.0.1:6379> ACL LIST

Sample output:

1) "user default on #ab5429cbd11bc87c624afed79d02dc839c8195084a0af64dc059e4627fd15d2 ~* 8* +@all"

To temporarily set a password for the default user until a Redis server restart, enter the following command:

127.0.0.1:6379> CONFIG SET requirepass "mypass"