delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/06/06:00:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de)
From: "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: "Christopher Dale Campbell" <DaleCampbell AT revolutionist DOT com>,
"Cygwin" <cygwin AT cygwin DOT com>
Subject: RE: Small alternative to su
Date: Fri, 6 Jul 2001 13:59:19 +0400
Message-ID: <004e01c10602$530d8220$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <003b01c105fd$b55d7430$d5322041@campbell>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006


> -----Original Message-----
> From: cygwin-owner AT sources DOT redhat DOT com
> [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Christopher
> Dale Campbell
> Sent: Friday, July 06, 2001 1:26 PM
> To: Cygwin
> Subject: Small alternative to su
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> If you need to run programs (in cygwin) under a different user, but don't
> want to log out, here's a simple thing that I use.  Create a shortcut to
> "%SystemRoot%\system32\cmd.exe".  Then right click on the shortcut, select
> Properties, and check the box 'Run as different user.'  Now when you click
> that shortcut a dialog will pop up asking which user you'd like to run it
> as.  When the DOS CLI opens up, just \cygwin\cygwin.bat (or where ever you
> have it located) to run the cygwin batch file.  This works on most other
> shortcuts, too.  However, the 'Run as different user' box is greyed out on
> the cygwin shortcut.  Probably because it's a shortcut to a batch
> file (?).
> Hope this helps.  Sure does beat logging in and out all the time.
>
> And obviously, this is refering to NT and 2000 boxes (I'm using 2000).
>

this works on 2000 and above *only*. "Run as" does not exist on NT.

-andrej


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