rladmin 集群change_password_hashing_algorithm
更改密码哈希算法。
Redis 企业软件 |
---|
更改整个集群的密码哈希算法。当您更改哈希算法时,它会重新哈希所有用户(包括默认用户)的管理员密码和密码。
rladmin cluster change_password_hashing_algorithm <algorithm>
Parameters
Parameter
Type/Value
Description
algorithm
SHA-256
PBKDF2
Change to the specified hashing algorithm. The default hashing algorithm is SHA-256
.
Returns
Reports whether the algorithm change succeeded or an error occurred.
Example
$ rladmin cluster change_password_hashing_algorithm PBKDF2
Please confirm changing the password hashing algorithm
Please confirm [Y/N]: y
Algorithm changed
On this page