www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/13/20:52:47

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: <4.3.1.2.20020813204306.0216b350@pop.rcn.com>
X-Sender: lhall AT pop DOT rcn DOT com
Date: Tue, 13 Aug 2002 20:48:06 -0400
To: Joe Wilson <developir AT yahoo DOT com>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Cygwin 'login' command does not work - why?
In-Reply-To: <20020813205833.1148.qmail@web21107.mail.yahoo.com>
Mime-Version: 1.0

At 04:58 PM 8/13/2002, Joe Wilson wrote:
>What are the minimum requirements to get the following Cygwin command to work?
>
>$ login Administrator
>Password:
>Login incorrect
>
>It always responds "Login incorrect" despite entering the correct password
>and being already logged in as the user 'Administrator':
>
>$ id
>uid=500(Administrator) gid=513(None) groups=0(Everyone),513(None),544(Administrators),545(Users)
>
>I have already tried:
>
>  mkpasswd -l > /etc/passwd
>  mkgroup -l > /etc/group
>
>and have ntsec set in the CYGWIN variable.
>What else am I missing?
>
>What other files, environment variables, or registry items or Windows 
>features does login.exe make use of?
>
>This ought to be pretty simple, shouldn't it?
>
>The truth is that I don't care about "login", per se, it's just that
>no other Cygwin service requiring authentication will work on my 
>Windows 2000 machine so the login example is simplest case.  
>Since that does not work then sshd, telnetd, ftpd don't work either.


I'll suggest that you review the email list archives about this and all
the available documentation on these programs and inetd if you have not
already.  This general issue has come up many times before and the solution
is generally a configuration one.  Previous discussions and available 
documentation should help track down this problem.  Don't worry about 
not being able to invoke "login" from the command line.  The Cygwin 
version of this utility is not meant to be invoked from the command line.
The issues you note when you do so are red herrings.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


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