This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Force bash to start as administrator




>From: Andrew DeFaria ADeFaria@Salira.com
>Date: Wed, 11 Dec 2002 11:11:58 -0800
>To: cygwin@cygwin.com
>Subject: Re: Force bash to start as administrator
>
>
>lhall@pop.ma.ultranet.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]