manioul a �crit :

Le lundi 06 juin 2005 � 18:25 +0200, Fran�ois Boisson a �crit :
Bonjour,
Coucou!
il y a au moins un an est pass� sur la liste l'astuce qui permet de
faire accept� � passwd les entr�es claviers en ligne de commande: les
astuces type

# passwd user < /tmp/toto
Enter new UNIX password: Retype new UNIX password: Sorry, passwords do
not match passwd: Authentication information cannot be recovered

ou encore

totoche:/etc# passwd user 0<< EOF
toto
toto
EOF
Enter new UNIX password: Retype new UNIX password: Sorry, passwords do
not match passwd: Authentication information cannot be recovered
totoche:/etc#

ne fonctionne pas sans que je ne comprenne bien pourquoi.
J'utilisais l'option --stdin, mais elle semble avoir disparue de
passwd...

Je n'arrive pas � retrouver le fil dans les archives

merci

Fran�ois Boisson
++ ;)
Salut

j' utilise chpasswd dans un cron,  "echo toto:motdepasse | chpasswd".
man chpasswd.

A++

Dom


--
Pensez � lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez � rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à