X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 18 Jan 2012 15:16:01 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Elevated prompt under ssh on Windows 7 Message-ID: <20120118141601.GA21774@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4F16C1EA DOT 5040306 AT cs DOT utoronto DOT ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4F16C1EA.5040306@cs.utoronto.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Jan 18 07:58, Ryan Johnson wrote: > On 18/01/2012 7:12 AM, Timothy Madden wrote: > >Is there a way to get the remote shell not to run elevated under > >sshd, even if the user could otherwise run programs elevated in > >the native Windows OS ? > I suspect you could set up ssh to use a "shell" which drops the > user's privilege level and then invokes the real shell. I don't know > the magic incantation off-hand, tho. There's a cygdrop tool in the cygutils package which allows to start another process under a restricted token. See `cygdrop --help'. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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