This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running 'runas' from a console


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]