delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/14/14:07:05

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: "/bin/bash: Permission denied" with ssh to localhost under WinXP 2003 x64?
Date: Tue, 14 Nov 2006 19:06:43 -0000
Message-ID: <01e401c70820$05ed6c50$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <ejd1ur$vgu$1@sea.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 14 November 2006 18:30, Brian Kasper wrote:

> Here's the text of my most recent login attempt:
> 
>  >kasper 509 $ ssh localhost
>  >kasper AT localhost's password:
>  >Warning: No xauth data; using fake authentication data for X11
>  >forwarding.
>  >Last login: Tue Nov 14 10:00:34 2006 from 127.0.0.1
>  >Fanfare!!!
>  >You are successfully logged in to this server!!!
>  >/bin/bash: Permission denied
>  >Connection to localhost closed.

> working correctly.  The permissions on c:/cygwin/bin/bash.exe are ugo+rwx:
> 
> -rwxrwxrwx 1 kasper Users 467968 Nov  2 19:22 /bin/bash.exe
> 
> and I've given "full control" permission to "Everyone", "kasper", and
> "sshd_server" for the entire c:/cygwin directory tree.

> I'd really appreciate any pointers anyone can offer.

  Try replacing '/bin/bash' with /bin/id -a' in your /etc/passwd, and let's
see who cygwin thinks you are when you log in.  Then we can get into looking
at ACLs.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019