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

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019