From 20ce89e153009b1f80bd2ed6fa394553ce82dfd3 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Mon, 30 Jan 2023 14:55:29 -0500 Subject: [PATCH] Update docs and testcases to use sha512 --- .../manage_clusters/ppc64le/configure/password.rst | 2 +- xCAT-test/autotest/testcase/passwd/case0 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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