X-Spam-Check-By: sourceware.org From: "Dave Korn" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 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/