This is the mail archive of the
mailing list for the Cygwin project.
Re: problem with cygwin:login
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: lu fang <hello_kaguya at hotmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 10 Feb 2003 15:13:07 -0500 (EST)
- Subject: Re: problem with cygwin:login
- Reply-to: cygwin at cygwin dot com
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!
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).
P.S. Why would you want to switch the user context to that of the
*current* user, anyway?
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html