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, 10 Feb 2003 15:13:07 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: lu fang cc: cygwin AT cygwin DOT com Subject: Re: problem with cygwin:login In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Feb 2003, lu fang wrote: > Hi, all > I have problem in using "login" under cygwin. I installed cygwin under > windows2000. And when I tried to login into cygwin, I used the same > username and paasword as I log in to my nt machine.But it always failed. So > how to fix the problem here? I have tried to installed ntsec under NT and > set system var CYGWIN=ntsec, and I try to log in as nt username and > password again, still incorrect. what is the problem then? Really hope to > get helps! thanks a lot! > > lufang Lufang, Cygwin's login is used to switch user context. On NT, a special privilege is needed for that. Without that privilege, a call to switch the user context, even to that of the current user, will fail. By default, only the LocalSystem user has such a privilege (thus, login can be [and is] used by programs like telnetd and sshd). Igor P.S. Why would you want to switch the user context to that of the *current* user, anyway? -- 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/