Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3DF7AEB9.7020000@Salira.com>
Date: Wed, 11 Dec 2002 13:31:37 -0800
From: Andrew DeFaria <ADeFaria@Salira.com>
Organization: Salira Optical Networks
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en, ru, zh
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Force bash to start as administrator
References: <Pine.GSO.4.44.0212111559250.12239-100000@slinky.cs.nyu.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Dec 2002 21:33:11.0718 (UTC) FILETIME=[E7C31460:01C2A15C]

  Please don't email me directly - keep it on the list!

Igor Pechtchanski wrote:

> Andrew,
>
> The cygwin login has nothing to do with it. I was not referring to the 
> fact that you don't need a password (which, by the way, is stored by 
> windows, and not in the passwd file). Try replacing "login" by "bash", 
> and type "whoami" when the shell comes up.

Interesting! Insecure!

> Igor
> P.S. I don't know what Runas is, sorry.

In a Windows window (since rxvt messes up with ptys in this case) try 
runas /?






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

