This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: "/bin/bash: Permission denied" with ssh to localhost under WinXP 2003 x64?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 14 Nov 2006 19:06:43 -0000
- Subject: RE: "/bin/bash: Permission denied" with ssh to localhost under WinXP 2003 x64?
On 14 November 2006 18:30, Brian Kasper wrote:
> Here's the text of my most recent login attempt:
>
> >kasper 509 $ ssh localhost
> >kasper@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/