delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/04/01:08:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 4 Feb 2010 16:07:50 +1000
Message-ID: <fbea4b0a1002032207y5ee53669o97966eeb6e2138c2@mail.gmail.com>
Subject: 1.7 Public Key Authentication problem
From: shane fenton <fenton DOT shane AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,
First time poster - so hopefully will get it right :)
Cygwin 1.7 installed on approx 10 machines - XP /2008
domain cyg_server user created
Added above user to Quotas/create token/replace token & log on as
service & local admins on pc's
added cyg_server to passwd file
ssh-host-config (found above user and used it and did the right perms
on /var/empty & /var/log/sshd.log )
added domain user accounts to passwd  & domain users group  > group
I can ssh in the machines as any user using password logon.
But I can only successfully login using keys as the cyg_server user itself.
Using keys for any user logs me in successfully, but I get the below
error and most things don't work

      4 [main] -bash 1368 fork: child -1 - CreateProcessW failed, errno 13
-bash: fork: Permission denied

If I change the ssh daemon to run as a different domain user, with the
required privliges set in the local security policy - I get the same
result.
ie. the daemon user can log in passwordless with keys, but all other
users generate the same error - yet password logons always work.

Please help! I've been trying for a few days and have not been able to
make any progress - I've been reading the faq's/mailing lists but I
couldn't find the same issue.

Thanks in advance
Shane

--
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

- Raw text -


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