From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28637 invoked by alias); 21 Jun 2012 09:11:39 -0000 Received: (qmail 28494 invoked by uid 22791); 21 Jun 2012 09:11:18 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Thu, 21 Jun 2012 09:11:05 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id F383E2C0071; Thu, 21 Jun 2012 11:11:02 +0200 (CEST) Date: Thu, 21 Jun 2012 09:11:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: ssh logon failure Message-ID: <20120621091102.GB26102@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4FCF00EB.2070600@gmail.com> <20120606083655.GD23539@calimero.vinschen.de> <4FE2D650.407@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FE2D650.407@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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-06/txt/msg00396.txt.bz2 On Jun 21 10:07, marco atzeri wrote: > 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@127.0.0.1 > >>marco@127.0.0.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 > > > > I suspect there is an interference from the Novell network, probably > some change of permission level when connected, also not fully logon. > > At home I was able to login by ssh. > > Idea how to trace the permissions in the two scenarios ? Try `/cygdrive/c/Windows/System32/whoami /all'. This shows you the relevant information stored in the user token of the current session. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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