www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/01/23:42:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 1 Jan 2009 23:41:31 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running 'runas' from a console
Message-ID: <20090102044130.GC779@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <495D2B7B DOT 7050606 AT alice DOT it>
MIME-Version: 1.0
In-Reply-To: <495D2B7B.7050606@alice.it>
User-Agent: Mutt/1.5.16 (2007-06-09)
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
Note-from-DJ: This may be spam

On Thu, Jan 01, 2009 at 09:45:47PM +0100, Angelo Graziosi wrote:
>I have seen that running
>
>$ runas /user:pippo "C:\cygwin\bin\bash --login -i"
>
>works if it is given from Cygwin.bat console, i.e.  it asks the
>password for 'pippo' and then it opens a pippo's Cygwin.bat-like
>console.
>
>Instead it doesn't work when one uses another console like xterm,
>urxvt, rxvt, mrxvt and...  the recent MinTTY, i.e.  it seems to exit
>silently (but 'ps' shows that there is yet some process running).
>
>I have flagged this because it would be fine to have MinTTY instead of
>Cygwin.bat, but at the moment it looks that there is something that
>runs on Cygwin.bat but not in other consoles.

It's a standard problem with Cygwin ptys not being recognized as windows
consoles.

cgf

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