Commit e03fe782 authored by Metro Admin's avatar Metro Admin

Ajout de la partie password VNC

parent ecdc03aa
......@@ -39,6 +39,7 @@ echo "Récupération de la clef ssh du serveur"
tftp ecole-dc <<'EOF'
get id_rsa.pub
get secret.tgz
get vnc.passwd
quit
EOF
sshdir="/root/.ssh/"
......@@ -54,6 +55,9 @@ rm secret.tgz
chown -R root:root /etc/cifs
cd -
mv vnc.passwd /etc/.vnc.passwd
chown administrateur:administrateur /etc/.vnc.passwd
chmod 600 /etc/.vnc.passwd
hostn=`hostname`
echo "Veuillez entrer le numéro de poste"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment