Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 11 Dec 2002 19:43:41.0960 (UTC) FILETIME=[9BE19080:01C2A14D] Content-Transfer-Encoding: 8bit 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/