delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/10:52:27

X-Spam-Check-By: sourceware.org
Message-ID: <44DC9984.8080900@cygwin.com>
Date: Fri, 11 Aug 2006 10:51:48 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: FW: Windows 2003 Server, Cygwin sshd and mpiexec
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA7xGTebFrMkaHeSSAR3i97sKAAAAQAAAATjWrvhUZwEyWHEOSno5CqAEAAAAA AT soton DOT ac DOT uk>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA7xGTebFrMkaHeSSAR3i97sKAAAAQAAAATjWrvhUZwEyWHEOSno5CqAEAAAAA@soton.ac.uk>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Andy Keane wrote:
> 
> Corinna
> 
> I am try to give linux users access to our parallel windows 2003 server pack
> cluster via the OpenSSH daeom of cygwin.
> 
> I have tried the standard install with ssh-host-config and all works fine
> and users can log in with passwords or with certificates to cygwin on the
> cluster. However when they try and run an mpi job with mpiexec we get:
> 
> ajk AT headnode-10 /cygdrive/h/hydra
> $ mpiexec -n 2 mpipi
> unable to read authorization result from headnode-10. generic socket
> failure, error stack:
> ReadFailed(1538):  (errno -1073741508)
> 
> Aborting: Access denied by manager (1) on node 'headnode-10'.
> A common cause: mpiexec and the root smpd daemon running on that node are
> using different user accounts.
> 
> ajk AT headnode-10 /cygdrive/h/hydra
> $ ps -le
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
> I    4756       1    4756       5764    3 11155   Aug  8 /usr/bin/bash
> I    5932       1    5932       5932  con 11155 11:04:45 /usr/bin/bash
>      4736       1    4736       4736  con 2721 12:40:09 /usr/bin/cygrunsrv
>      4904    4736    4904       6480  con 2721 12:40:09 /usr/sbin/sshd
>      6336    4904    6336       7868    ? 2721 12:40:38 /usr/sbin/sshd
>      7260    6336    7260       7268    4 11155 12:40:39 /usr/bin/bash
>      2892    7260    2892        516    4 11155 13:50:24 /usr/bin/ps
> 
> ajk AT headnode-10 /cygdrive/h/hydra
> 
> 
> If however I simply log in using a remote desktop and start cygwin locally
> the same command works fine - clearly the ssh log in ends up looking
> different to the system than the non-ssh one. I have even tried:
> 
> net localgroup Administrators sshd_server /add
> editrights -a SeAssignPrimaryTokenPrivilege -u sshd_server
> editrights -a SeCreateTokenPrivilege -u sshd_server
> editrights -a SeIncreaseQuotaPrivilege -u sshd_server
> editrights -a SeServiceLogonRight -u sshd_server
> mkpasswd -l -u sshd_server >> /etc/passwd
> editrights -a SeDenyInteractiveLogonRight -u sshd_server
> editrights -a SeDenyNetworkLogonRight -u sshd_server
> editrights -a SeDenyRemoteInteractiveLogonRight -u sshd_server
> cygrunsrv --stop sshd
> cygrunsrv --remove sshd
> cygrunsrv -I sshd -p /usr/sbin/sshd -a -D -u sshd_server -w <password>
> net start sshd
> 
> and I still get the same problems, though login still works fine over sshd.
> It does not seem to matter if I use privilege separation or not.

I'm sorry.  I don't understand how this inquiry differs from your last one
on this subject:

<http://cygwin.com/ml/cygwin/2006-08/msg00316.html>

You're going to have to be more specific about how you get the problem you
see in light of the responses you've already gotten.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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