2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 11:12:04 +00:00

Update docs and testcases to use sha512

This commit is contained in:
Mark Gurevich 2023-01-30 14:55:29 -05:00
parent d83e15372c
commit 20ce89e153
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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