Took 6.0 RC1 ACL feature for a drive today on MacOS 10.15.1. Pretty impressive. Listing here some of the things that I noticed. Apologize if these have been reported before by others.

  1. The redis-server and redis-cli start up message says Redis 5.9.101

  2. redis-cli -user does not work as advertised redis-rules:> redis-cli --help 2>&1 | grep user -user Used to send ACL style 'AUTH username pass'. Needs -a. -pass Alias of -a for consistency with the new --user option. redis-rules:> redis-cli -user u1 Unrecognized option or bad number of args for: '-user' redis-rules:> redis-cli -user u1 -a abc Unrecognized option or bad number of args for: '-user'

--user seem to work

  1. redis-cli -pass does not work as advertised redis-rules:> redis-cli -pass abc Unrecognized option or bad number of args for: '-pass'

--pass seem to work

  1. Command gets executed even when the AUTH fails redis-rules:> redis-cli --user non-exist --pass abc ping
    Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe. Warning: AUTH failed PONG

Comment From: lifubang

The last one may be not a bug. I think you didn't add a default user with password in your acl file. You can check like this:

redis-rules:> redis-cli --user non-exist --pass abc acl list
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Warning: AUTH failed
1) "user default on nopass ~* +@all"
2) "user u1 on #2288ec82bc090b36a7ebee6c750e541c3d3594a17917e6aa275340c77226e883 ~jobs:* -@all +@list +@connection"

If 1) exists, please add this line in your aclfile:

user default ~* +@all on >yourpassword