X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <4FD64C7D.7010205@gmail.com> Date: Mon, 11 Jun 2012 21:52:29 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh logon failure References: <4FCF00EB DOT 2070600 AT gmail DOT com> <20120606083655 DOT GD23539 AT calimero DOT vinschen DOT de> In-Reply-To: <20120606083655.GD23539@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 6/6/2012 10:36 AM, Corinna Vinschen wrote: > On Jun 6 09:04, marco atzeri wrote: >> I am probably missing something obvious >> >> ------------------------------------- >> ssh marco AT 127 DOT 0 DOT 0 DOT 1 >> marco AT 127 DOT 0 DOT 0 DOT 1's password: >> Last login: Wed Jun 6 06:19:27 2012 from 127.0.0.1 >> >> The Hippo says: Welcome to Cygwin >> >> /bin/bash: Operation not permitted >> Connection to 127.0.0.1 closed. >> ---------------------------------------- >> >> >> on the windows log, I found only: >> >> sshd: PID 7340: Accepted password for marco from 127.0.0.1 port 2011 ssh2 >> sshd: PID 7340: Received disconnect from 127.0.0.1: 11: disconnected by user >> >> while sshd.log is empty >> >> Could MARCOATZERI\cyg_server have elevation problem to the user ? > > The above bash message implies that the user switch has been made > already, and given that you're using password auth, you should have a > nicely defined advapi user token. I have no idea what problem bash may > have here. > > > Corinna > two additional curious things: 1) any time I restart the pc I need to re-set the "CYGWIN sshd" logon password on services. It seems that the ServiceLogonRight is reset by something 2) I can not logon as marco AT localhost but I can logon as cyg_server AT localhost Marco -- 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