public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: mintty vs runas (was: Re: CYGWIN=tty round 2)
@ 2011-05-24 16:26 Angelo Graziosi
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Graziosi @ 2011-05-24 16:26 UTC (permalink / raw)
  To: cygwin

Andy Koppe wrote:
> you could invoke mintty itself as administrator
> with right-click->Run As or by changing its shortcut to invoke it
> through runas.

Thanks for the suggestions!

Ciao,
Angelo.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* mintty vs runas (was: Re: CYGWIN=tty round 2)
@ 2011-05-24 11:32 Andy Koppe
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Koppe @ 2011-05-24 11:32 UTC (permalink / raw)
  To: cygwin

On 23 May 2011 22:24, Angelo Graziosi wrote:
> I want to flag that this:
>
> /cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash
> --login -i'
>
> works in a dos-like shell (Cygwin.bat) but not in mintty.

That's yet another case of a non-Cygwin program expecting to talk to a
Windows console rather than the pipes underlying Cygwin's pseudo
terminal device implementation. Even runas's help output doesn't work
in mintty, which suggests that it's using console-specific functions
for all its I/O.

> Is there some trick to do the job also in mintty?

Not within it, but you could invoke mintty itself as administrator
with right-click->Run As or by changing its shortcut to invoke it
through runas.

Andy

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-24 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 16:26 mintty vs runas (was: Re: CYGWIN=tty round 2) Angelo Graziosi
  -- strict thread matches above, loose matches on Subject: below --
2011-05-24 11:32 Andy Koppe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).