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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Andrew DeFaria Subject: Re: Force bash to start as administrator Date: Wed, 11 Dec 2002 11:11:58 -0800 Lines: 28 Message-ID: <3DF78DFE.2000302@Salira.com> References: <265000-220021231117280767 AT M2W093 DOT mail2web DOT com> NNTP-Posting-Host: 206.184.204.2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039634012 7586 206.184.204.2 (11 Dec 2002 19:13:32 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Wed, 11 Dec 2002 19:13:32 +0000 (UTC) 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 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. > 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! > This will give you a new console window with the login prompt. From here, > you can log in as anybody, assuming you know the proper passwords. ;-) > > You should be able to use ssh to do this as well, which should be easier > than going through the above gyrations. Or telnet or rlogin if one sets up inetd... -- 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/