delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/02/11:59:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: Output suppressed on certain program through ssh
Date: Mon, 2 Jun 2003 10:58:50 -0500
Message-ID: <361A899B8B2FF64AAE29718102EC939503037FD6@ri-exchus1.rotaryintl.org>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Crispin Bivans" <BivansC AT rotaryintl DOT org>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 02 Jun 2003 15:58:50.0794 (UTC) FILETIME=[DBFBC0A0:01C3291F]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h52FxEl25091

At first, I was having a problem seeing DOS output from a program (psadmin.exe) when trying to run it through a Cygwin shell session. The symptom was that a full administrator account could see it, but other user accounts (even ones that had Local Admin rights) could not see the stdout characters. The same behavior was exhibited through ssh sessions to that box.

I fixed that problem by changing my CYGWIN variable to just 'ntsec' and leaving off the 'tty' setting. Now the program works great through cygwin shell sessions. 

But the problem still persists through ssh sessions of it suppressing the stdout. I did a registry edit to fix the Environment variable CYGWIN for the sshd service and restarted the service. I confirmed through the ssh session that it now only uses 'ntsec' for its CYGWIN.

I tried to use strace on it, but the trace file always shows up with no output.

What else can I do to troubleshoot this further or make the stdout of this program work through ssh sessions?

Thanks.

-Crispin

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