X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:message-id:from:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=cXV 0Hv/DiDz1gnSknMrcbbiJf4RMbhlHmlPQuY6A8xVrb+tA2/LwMzBC8iwdtfGVvQe AJ4XZL2s/mleJt6BNMEawZoupLN+D7fq37AggAhy694p4cIGsaiBpfc1Dn/FIA9z 6STSo2gCTCbC4Ll5RCjuyxTSKaDMs+VoIKd3AlJM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:message-id:from:date:mime-version :content-type:content-transfer-encoding; s=default; bh=/msqc4CUO m6COta0uOcYnYm+gYs=; b=PfH24DQuSXGnJBmJ2WtJq3VLenCLI+QTjdP8cMwP4 8/6obOPm4IrXs6OzfjQDHVIOWPYCf8lOjqnaP0lEHoJi81cErNY7ELW1kcUw5EQE as2WK59bgC+hNwXMhE6Z/INieymvkzGvIne1FVFbV9fAQGVrbk1Rf+5lq7Tfr7Ar co= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e28smtp03.in.ibm.com Subject: passwd -R X-KeepSent: A40FC8AD:438FBB46-65257CBE:001E57FE; type=4; name=$KeepSent To: Cygwin AT cygwin DOT com Message-ID: From: Vijay K Sukthankar Date: Fri, 18 Apr 2014 10:58:41 +0530 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14041805-3864-0000-0000-00000DB797C7 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s3I5W768009715 Hi, I am trying to decipher how to do some of commands on a cygwin shell remotely. I am using a Jython script to reset the Admin password and I understand that I would have to do the following 1) change the password registry entry using passwd -R 2) net user Administrator When the command is executed it expects that a re-enter of password which I dont want. Is there a way I can do echo passwd | passwd -R which would change the password in registry. Regards Vijay Sukthankar Master Inventor IBM Software Lab, India -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple