delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/11/14:43:56

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: <119420-2200212311194341608@M2W095.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: adefaria AT salira DOT com, cygwin AT cygwin DOT com
Subject: Re: Force bash to start as administrator
Date: Wed, 11 Dec 2002 14:43:41 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 11 Dec 2002 19:43:41.0960 (UTC) FILETIME=[9BE19080:01C2A14D]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBBJhtW24678



>From: Andrew DeFaria ADeFaria AT Salira DOT com
>Date: Wed, 11 Dec 2002 11:11:58 -0800
>To: cygwin AT cygwin DOT com
>Subject: Re: Force bash to start as administrator
>
>
>lhall AT pop DOT ma DOT ultranet DOT com wrote:
>
>> Type this in a bash window:
>> cygrunsrv -I LoginShell -d "Login shell" -p /usr/bin/cygstart -a
>> /usr/bin/login -e "CYGWIN=tty binmode ntsec"
>>
>> Go to the Control Panel->Administrative Tools->Services
>> Right click on "LoginShell" and go to properties.
>> Go to the "Log On" tab and check the "Allow service to interact with
>> desktop"
>
>Hmmm... In my Windows XP I don't see an "Allow service to interact with 
>desktop" selection on the "Log On" tab.


XP Home or Pro?  Just curious.


>> Follow this with this in a bash window: cygrunsrv -S LoginShell
>
>Why not simply select start in the services applet instead of having to 
>start a shell and type a command? If net start LoginShell is a shorter 
>command!


To each his own.  I wasn't suggesting that this was the only was it 
could be done of course. 

Larry



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



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