tech:changer_le_mot_de_passe_root_via_script_sur_redhat_centos
Changer le mot de passe root via script sur RedHat / CentOS
echo 'root:P@ssw0rd' |chpasswd #echo "utilisateur:P@ssw0rd|chpasswd -cSHA512
echo "password" | passwd hacluster --stdin
Attention : ce n'est pas sécurisé.
Autres
read -s PASS # Ou set +o history export PASS=P@ssw0rd set -o history
tech/changer_le_mot_de_passe_root_via_script_sur_redhat_centos.txt · Dernière modification : de 127.0.0.1
