delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/06/14:00:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=fK379
opNUACIPvTUxrTH2YkcADKl0rGQPUt0RTg8traM+3TwjU81KpwhhCp4oUMXNMZnm
jgQvdgvG+5KEYz0gF1BUvS4duSFvslrW18FpG8UwEM+8QGoo/bfz5PRcO3goZk2O
BwfhjE/fhyprD7l88bcr0eH4mszRNWhcpggFNg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=xbmRp4ay+wC
vkG1N7K3FRJZ2AOM=; b=GbZ55PyFS/ehLIESD0PvGWnMZqRCT8uOWpeW00QSBYc
zXC0ua80vOoj9TPTk1yeEm2VspDd09XZOVJ6hjUeHiRjgoLE+2GVsvbvwiyNwJds
3HM4ncDAco3rqiqwbskVlS/+2N1QuwPnUNb6iQJ19PKsJZO3/QGd2IvxLSCt2NKs
=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=nonlocal, Lightner, weirdness, lightner
X-HELO: mail-in-10.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3sTDrh1Ffbz3khB
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: ssh to Cygwin sshd - command with bat file fails when trust established but works with password authentication
References: <20160906104335 DOT CCAE4CA4 AT m0086238 DOT ppops DOT net>
Date: Tue, 06 Sep 2016 19:59:47 +0200
In-Reply-To: <20160906104335.CCAE4CA4@m0086238.ppops.net> (Jeffrey Lightner's message of "Tue, 6 Sep 2016 10:43:35 -0700")
Message-ID: <87a8fkewoc.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0

Jeffrey Lightner writes:
> The weirdness is that this failure only occurs when we call it using
> ssh trust to make the connection. If we make the connection without a
> trust so that it prompts for the OS level password the bat file then
> executes correctly including its application level login.

That most likely means that this application needs network access.  If
you log in via public key and don't have a password stored in registry
via 'passwd -R' and cygserver running to use it, then you won't have any
access rights to non-local resources.

https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

If all you need is indeed to run one script, you might alternatively be
able to set up a service that starts under a network user and just runs
that script when triggered by your remote user login in via ssh.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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