delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/11/16:33:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3DF7AEB9.7020000@Salira.com>
Date: Wed, 11 Dec 2002 13:31:37 -0800
From: Andrew DeFaria <ADeFaria AT Salira DOT 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 AT cygwin DOT com
Subject: Re: Force bash to start as administrator
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0212111559250 DOT 12239-100000 AT slinky DOT cs DOT nyu DOT edu>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019