[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

script with passwd



Hello 

a newbie question :
even if it is not secure I would like to know how to
write a script with the passwd command without having
to enter the passwd.

more generally, how to answer question to a script
with always the same  response 
I ve tried 
echo passord |passwd user 
but the passwd need to be put  several times (two
exactly).




	

	
		
__________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/



Reply to: