www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/29/10:26:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Giving interact with desktop permission to cyg_server
Date: Thu, 29 Mar 2012 07:25:15 -0700
Lines: 31
Message-ID: <jl1rcd$naa$1@dough.gmane.org>
References: <jl0fqv$1ht$1 AT dough DOT gmane DOT org> <20120329080630 DOT GA30721 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120309 Thunderbird/11.0
In-Reply-To: <20120329080630.GA30721@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 03/29/2012 01:06 AM, Corinna Vinschen wrote:
> For some mystical reason, Microsoft didn't remove this checkbox, but 
> other than that, yes, you're hosed starting with Vista/2008.
Well that sucks! I'm stuck because I wish to remotely execute a script 
which uses a program (Excel) to get data and does not really display a 
window because as of 2008 I cannot bestow a right (interact with 
desktop) to a service that really shouldn't need that right! Thanks MS!

I believe I read somewhere that MS believes this to be some sort of 
security hole but they should recognize that in some more controlled 
situations like being in the intranet operating on servers that probably 
don't even have displays where this should be allowed.

I guess that checkbox then doesn't do anything. I wonder if anybody has 
ever reported it...
> The workaround suggested in all Microsoft docs is to split the job 
> into two processes, one started as service, the other started on the 
> local desktop, and then to control the desktop process from the 
> service process via some means of IPC. 
Yes but how can this be done in the context of the service being 
Cygwin's ssh and the desire being to simply run build scripts, some of 
which read Excel files???

Oh well, thanks for the answer, Corinna, even though the news is not 
good. Now to attempt to deal with this problem with asking the question 
of the developers "Could you use some other form of input than an Excel 
spreadsheet! - geeze!" ;-)
-- 
Andrew DeFaria <http://defaria.com>
Don't you hate when your hand falls asleep and you know it will be up 
all night.


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