delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/01/15:46:42

X-Recipient: archive-cygwin AT delorie DOT 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 DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: andy DOT koppe AT gmail DOT com
Subject: Running 'runas' from a console
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019