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 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 Reply-To: cygwin AT cygwin DOT com To: Kurt Roeckx cc: cygwin AT cygwin DOT com Subject: Re: Changing user ID. In-Reply-To: <20021125225313.A3730@ping.be> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/