delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/11/13:17:19

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: <001f01c2a141$7c000f00$5388883e@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Cary Lewis" <clewis AT mobilecom DOT com>, <cygwin AT cygwin DOT com>
References: <3E2D8043936AD611AF7D00508B5E9F4B28D4FD AT server3 DOT mobilecom DOT com>
Subject: Re: Force bash to start as administrator
Date: Wed, 11 Dec 2002 18:16:52 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Cary Lewis <clewis AT mobilecom DOT com> wrote:

> I want to be able to start a bash shell as Administrator id=500
> regardless of who I am logged into the windows box as. Alternatively
> can I force cygwin to ignore the current user credentials and use the
> Administrator.

Cygwin simply uses the underlying NT security model in innovative ways -
i.e. if you want to start bash as an alternate user, the solution will not
be Cygwin-specific. Just use the inbuilt "Run as another user" functionality
in 2k/XP, or, find some kind of equivalent for NT4.

> I would like to be able to do this so that I can standardize my
> deployment of Cygwin, I would like any user to always get the same
> permissions, same home directory, etc.

I'm not conviced that what you propose above is the best way to go about it.
I mean, if the users have seperate accounts, that's presumably for a reason?

> BTW, how does login work in cygwin?

In normal local use, it simply isn't relevant. You login to Windows, and run
programs, which happen to be part of Cygwin. The only time the concepts of
"Cygwin" and "login" combine, are for remote login services such as ssh.
Even then, what is happening is that a program, which just happens to be
part of Cygwin, is mediating a standard NT login.

Max.


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