public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ssh logon failure
Date: Thu, 21 Jun 2012 09:11:00 -0000	[thread overview]
Message-ID: <20120621091102.GB26102@calimero.vinschen.de> (raw)
In-Reply-To: <4FE2D650.407@gmail.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@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

  reply	other threads:[~2012-06-21  9:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-06  7:04 marco atzeri
2012-06-06  8:37 ` Corinna Vinschen
2012-06-11 19:52   ` marco atzeri
2012-06-21  8:08   ` marco atzeri
2012-06-21  9:11     ` Corinna Vinschen [this message]
2012-08-13  6:03       ` thebardingreen
2012-08-14 14:15         ` marco atzeri
2012-06-07  8:55 ` DakMark
2012-06-07 10:02   ` marco atzeri
2013-08-07 17:15     ` Yuki Ishibashi
2013-08-07 17:34       ` Larry Hall (Cygwin)
2013-10-25  2:04         ` Dan Greenspan
2013-10-25  2:30           ` Larry Hall (Cygwin)
2013-11-11 23:48             ` greenspan
2013-11-12 14:32               ` George Demmy
2013-11-12  0:23             ` greenspan
2013-11-12  0:54               ` Larry Hall (Cygwin)
2013-11-13  4:16                 ` greenspan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120621091102.GB26102@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).