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 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 AT foo Warning: Remote host denied X11 forwarding. Last login: Tue Oct 8 21:01:53 2002 from bar Administrator AT LORIEN ~ $ Now, I add the user foo: Administrator AT LORIEN ~ $ net user foo bar /add I add the user to the password file Administrator AT LORIEN ~ $ mkpasswd -l -u foo >>/etc/passwd And now I can't ssh in anymore: $ ssh Administrator AT foo Warning: Remote host denied X11 forwarding. Connection to foo closed. $ ssh Administrator AT 172 DOT 16 DOT 34 DOT 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 AT LORIEN ~ $ rm /etc/passwd; mkpasswd -l | grep -v ^foo >/etc/passwd $ ssh Administrator AT foo Warning: Remote host denied X11 forwarding. Last login: Tue Oct 8 21:18:09 2002 from bar Administrator AT 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/