From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7999 invoked by alias); 7 Jul 2012 04:05:34 -0000 Received: (qmail 7986 invoked by uid 22791); 7 Jul 2012 04:05:32 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from mail1.multiplay.co.uk (HELO mail1.multiplay.co.uk) (85.236.96.23) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Jul 2012 04:05:09 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sat, 07 Jul 2012 05:04:50 +0100 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50020641567.msg for ; Sat, 07 Jul 2012 05:04:50 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=153544c2be=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: cygwin@cygwin.com Message-ID: <87292535788F4E2CB162C788878399B8@multiplay.co.uk> From: "Steven Hartland" To: "Cygwin List" References: Subject: cygwin getpass broken recently? was: cygrunsrv fails to prompt for user password Date: Sat, 07 Jul 2012 04:05:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-07/txt/msg00083.txt.bz2 ----- Original Message ----- From: "Steven Hartland" > We're updating our servers to a newer version of cygwin (1.7.15) > from previous 1.7 version and in this version the install of > cygrunsrv (V1.40, Apr 25 2012) fails to correctly prompt for > a user password even though -u is being specified. > > It seems like cygrunsrv maybe checking for an "interactive" > session and incorrectly determining its not as in our case > we are running the cygrunsrv via ssh e.g. > > ssh "cygrunsrv ...." > > We know that this worked correctly in cygrunsrv V1.34, Mar 18 > 2008. > > Bug introduced recently? After inspecting the code for cygrunsrv and adding some debug I've determined this isn't a bug in the util but in cygwin's getpass function which I believe may have been changed recently by Corinna Vinschen, after googling around. Is this a new issue caused by these changes Corinna? Regards Steve -- 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