public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Fahlgren, Eric" <efahlgren@lifemodeler.com>
To: Cygwin <cygwin@cygwin.com>
Subject: RE: CYGWIN=tty round 2
Date: Mon, 23 May 2011 21:41:00 -0000	[thread overview]
Message-ID: <D255ECB130623742B0975B8F16C166C35784AA6115@LM-EXCHANGE.lifemodeler.com> (raw)
In-Reply-To: <4DDAD085.2070605@alice.it>

Angelo Graziosi wrote:
> /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. Is there some trick to do the job also in mintty?

Angelo,

I'm not completely sure about what you are trying to do, but this works for me to get a shell running under the proper user:

$ cat bldmgr.bat
 runas /user:proddev\bldmgr "c:\cygwin\bin\mintty.exe -"

Eric Fahlgren

  reply	other threads:[~2011-05-23 21:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 21:24 Angelo Graziosi
2011-05-23 21:41 ` Fahlgren, Eric [this message]
2011-05-23 22:27 ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2011-05-23 22:01 Angelo Graziosi
2011-05-22 21:19 Christopher Faylor
2011-05-23  2:53 ` Yaakov (Cygwin/X)
2011-05-23  6:02   ` Christopher Faylor
2011-05-23 17:27     ` Christopher Faylor
2011-05-23 11:49   ` Andy Koppe
2011-05-23 15:40     ` Corinna Vinschen
2011-05-23 23:21   ` Ryan Johnson
2011-05-24  6:22     ` Christopher Faylor
2011-05-24  9:54       ` Ryan Johnson
2011-05-23  9:36 ` Sven Köhler
2011-05-23 11:13   ` David Sastre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D255ECB130623742B0975B8F16C166C35784AA6115@LM-EXCHANGE.lifemodeler.com \
    --to=efahlgren@lifemodeler.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).