delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/25/17:31:50

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 25 Nov 2002 17:31:18 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Kurt Roeckx <Q AT ping DOT be>
cc: cygwin AT cygwin DOT com
Subject: Re: Changing user ID.
In-Reply-To: <20021125225313.A3730@ping.be>
Message-ID: <Pine.GSO.4.44.0211251729260.5856-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 25 Nov 2002, Kurt Roeckx wrote:

> I've been trying to log in as an other user under NT.
>
> From the archives I seem to get that su was removed, and that you
> should be using login for it instead, so I've tried to use that.
>
> It comes asking for the password, but always says it failed.
> Anybody got any idea why it's not working?
>
> The user doesn't exist local, but does exist in the domain.
>
> I don't want to try to use sshd/ssh, since I really don't need
> them, but would that work instead?
>
> Kurt

Switching user context on NT-based systems requires special privileges,
which normally belong only to the LocalSystem user.  Unless your user has
those privileges, login and others will fail.  sshd/ssh will work, since
sshd runs as LocalSystem, and thus has enough privileges to switch the
user.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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