X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <495D2B7B.7050606@alice.it>
Date: Thu, 01 Jan 2009 21:45:47 +0100
From: Angelo Graziosi <angelo.graziosi@alice.it>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: andy.koppe@gmail.com
Subject: Running 'runas' from a console
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

Cheers,
    Angelo.


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

