X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 21 Jun 2012 11:11:02 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh logon failure Message-ID: <20120621091102.GB26102@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4FCF00EB DOT 2070600 AT gmail DOT com> <20120606083655 DOT GD23539 AT calimero DOT vinschen DOT de> <4FE2D650 DOT 407 AT gmail DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 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 > > > > 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