field=$(awk -F ':' '/^root/{print $2}' /etc/shadow)
password=$(openssl passwd -1 123456)
sed -i '/^root/s%'$field'%'$password'%' /etc/shadow
field=$(awk -F ':' '/^root/{print $2}' /etc/shadow)
password=$(openssl passwd -1 123456)
sed -i '/^root/s%'$field'%'$password'%' /etc/shadow