delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/28/10:57:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
To: cygwin AT cygwin DOT com
From: Liang Wang <netcasper AT gmail DOT com>
Subject: Re: OpenSSH
Date: Thu, 28 Oct 2004 22:57:10 +0800
Lines: 31
Message-ID: <u8y9qgabd.fsf@gmail.com>
References: <loom DOT 20041028T135722-803 AT post DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 61.170.231.211
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)
X-IsSubscribed: yes

rickiez <rickiez AT verizon DOT net> writes:

> I have a 2000 server running Cygwin and SSH and it has been working fine for a
> year or so, but I went to add a user to Active Directory and I can see the user
> in /etc/passwd 

Do you mean you add user information into /etc/passwd manually?

IMO, you should do as following:
  $ mkpasswd -l -c >/etc/passwd
  $ mkgroup -l -c >/etc/group

Use -d option if you want to add domain user.

> but when I try to log in via SSH it denies me and logs it in
> event viewer as:
>
> The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local
> computer may not have the necessary registry information or message DLL files to
> display messages from a remote computer. The following information is part of
> the event: sshd : PID 2348 : Failed password for illegal user "username" from
> 192.168.0.12 port 1079.
>
>
>
> I replaced the real username with "username" for security reasons.
>
>
>
>
> Any help is greatly appreciated.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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