From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 538 invoked by alias); 18 Apr 2014 05:31:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 527 invoked by uid 89); 18 Apr 2014 05:31:56 -0000 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 Received: from e28smtp03.in.ibm.com (HELO e28smtp03.in.ibm.com) (122.248.162.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Apr 2014 05:31:54 +0000 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 Apr 2014 11:01:50 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp03.in.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 18 Apr 2014 11:01:49 +0530 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 582A9E0045 for ; Fri, 18 Apr 2014 11:06:09 +0530 (IST) Received: from d28av06.in.ibm.com (d28av06.in.ibm.com [9.184.220.48]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s3I5VehH9241068 for ; Fri, 18 Apr 2014 11:01:41 +0530 Received: from d28av06.in.ibm.com (localhost [127.0.0.1]) by d28av06.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s3I5VlcS032210 for ; Fri, 18 Apr 2014 11:01:47 +0530 Received: from d23ml063.in.ibm.com (d23ml063.in.ibm.com [9.182.8.72]) by d28av06.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s3I5Vl0f032207 for ; Fri, 18 Apr 2014 11:01:47 +0530 Subject: passwd -R X-KeepSent: A40FC8AD:438FBB46-65257CBE:001E57FE; type=4; name=$KeepSent To: Cygwin@cygwin.com Message-ID: From: Vijay K Sukthankar Date: Fri, 18 Apr 2014 05:31:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14041805-3864-0000-0000-00000DB797C7 X-SW-Source: 2014-04/txt/msg00446.txt.bz2 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