diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/configure/password.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/configure/password.rst index 672bdc75b..5b907820e 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/configure/password.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/configure/password.rst @@ -10,7 +10,7 @@ Configure passwords * Encrypted using ``openssl``: :: - chtab key=system passwd.username=root passwd.password=`openssl passwd -1 abc123` + chtab key=system passwd.username=root passwd.password=`openssl passwd -6 abc123` #. Configure the passwords for Management modules of the compute nodes. diff --git a/xCAT-test/autotest/testcase/passwd/case0 b/xCAT-test/autotest/testcase/passwd/case0 index 42a862d69..b72ba2efd 100644 --- a/xCAT-test/autotest/testcase/passwd/case0 +++ b/xCAT-test/autotest/testcase/passwd/case0 @@ -228,7 +228,7 @@ cmd:gettab key=system passwd.cryptmethod > /tmp/tmpcryptmethod check:rc==0 cmd:gettab key=system passwd.password > /tmp/tmppassword check:rc==0 -cmd:chtab key=system passwd.username=root passwd.password=`openssl passwd -1 abc123` +cmd:chtab key=system passwd.username=root passwd.password=`openssl passwd -6 abc123` check:rc==0 cmd:gettab key=system passwd.password > /tmp/tmpcryptedpasswd check:rc==0 @@ -254,7 +254,7 @@ cmd:gettab key=system passwd.cryptmethod > /tmp/tmpcryptmethod check:rc==0 cmd:gettab key=system passwd.password > /tmp/tmppassword check:rc==0 -cmd:chtab key=system passwd.username=root passwd.password=`openssl passwd -1 abc123` +cmd:chtab key=system passwd.username=root passwd.password=`openssl passwd -6 abc123` check:rc==0 cmd:gettab key=system passwd.password |grep '\$1\$' check:rc==0