Download
https://shiro.apache.org/download.html#latestBinary
shiro-tools-hasher
http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.4.1/shiro-tools-hasher-1.4.1-cli.jar
wget http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.4.1/shiro-tools-hasher-1.4.1-cli.jar
Use CLI to change the password
[centos@zzeng-hdp-ambari ~/tools]$ java -jar shiro-tools-hasher-1.4.1-cli.jar -p
Password to hash:
Password to hash (confirm):
$shiro1$SHA-256$500******
[centos@zzeng-hdp-ambari ~/tools]$