From cygwin-return-59154-listarch-cygwin=sourceware dot cygnus dot com at cygwin dot com Tue Oct 08 20:17:52 2002 Return-Path: Delivered-To: listarch-cygwin at sourceware dot cygnus dot com Received: (qmail 24402 invoked by alias); 8 Oct 2002 20:17:51 -0000 Mailing-List: contact cygwin-help at cygwin dot com; run by ezmlm Precedence: bulk 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 Received: (qmail 24395 invoked from network); 8 Oct 2002 20:17:48 -0000 Received: from unknown (HELO small-gods.mit.edu) (18.18.1.55) by sources dot redhat dot com with SMTP; 8 Oct 2002 20:17:48 -0000 Received: (from frodo@localhost) by small-gods.mit.edu (8.9.3) id QAA23365; Tue, 8 Oct 2002 16:17:47 -0400 (EDT) To: cygwin at cygwin dot com Subject: 1.3.12-4: editing /etc/passwd causes ssh to fail From: Len Giambrone Date: 08 Oct 2002 16:17:47 -0400 Message-ID: Lines: 53 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This is on an installation using setup today with the latest packages on archive.progeny.net. It's running Win2k Server. I think I've also verified this on my XP HE box at home. I can happily ssh into my box. $ ssh Administrator@foo Warning: Remote host denied X11 forwarding. Last login: Tue Oct 8 21:01:53 2002 from bar Administrator@LORIEN ~ $ Now, I add the user foo: Administrator@LORIEN ~ $ net user foo bar /add I add the user to the password file Administrator@LORIEN ~ $ mkpasswd -l -u foo >>/etc/passwd And now I can't ssh in anymore: $ ssh Administrator@foo Warning: Remote host denied X11 forwarding. Connection to foo closed. $ ssh Administrator@172.16.34.104 Warning: Remote host denied X11 forwarding. Connection to 172.16.34.104 closed. $ If I remove the new user foo, I can once again login: Administrator@LORIEN ~ $ rm /etc/passwd; mkpasswd -l | grep -v ^foo >/etc/passwd $ ssh Administrator@foo Warning: Remote host denied X11 forwarding. Last login: Tue Oct 8 21:18:09 2002 from bar Administrator@LORIEN ~ $ Has anyone seen this before? Can someone please confirm or deny that this happens to them? -Len -- 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/