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: CYGWIN=tty round 2


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

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