From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 23 20:19:59 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C75FD16A4CE for ; Sat, 23 Apr 2005 20:19:59 +0000 (GMT) Received: from balodis.pvd.gov.lv (balodis.pvd.gov.lv [159.148.155.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 734EA43D2D for ; Sat, 23 Apr 2005 20:19:59 +0000 (GMT) (envelope-from kl@os.lv) Received: by balodis.pvd.gov.lv (Postfix, from userid 65534) id EE974850F9F; Sat, 23 Apr 2005 23:19:55 +0300 (EEST) Received: from [213.182.201.44] (unknown [213.182.201.44]) by balodis.pvd.gov.lv (Postfix) with ESMTP id 2ED93850F9C for ; Sat, 23 Apr 2005 23:19:49 +0300 (EEST) Message-ID: <426AAE16.2020506@os.lv> Date: Sat, 23 Apr 2005 23:20:38 +0300 From: Casper User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on mail X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.0 Subject: Problem ssh to jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 20:19:59 -0000 Hi, I don`t know is I write to right mail list, but my problem is with FreeBSD 5.4 RC3 just updated, not relised yet. I wanted to try it to set up jail. I followed instrucion in man and in http://lists.freebsd.org/pipermail/freebsd-doc/2004-June/004463.html but still I can ssh to jail. My set up: ~j/etc/rc.conf sendmail_enable="NONE" inetd_flags="-wW -a 192.168.10.1" network_interfaces="" rpcbind_enable="NO" sshd_enable="YES" inetd_enable="NO" syslogd_flags="-ss" usbd_enable="NO" moused_enable="NO" update_motd="NO" ~j/ssh/sshd_config ListenAddress 192.168.10.1 resol.conf is ok etc. I started with: #!/bin/sh jail /jail/mail mail 192.168.10.1 /bin/sh /etc/rc and: # jls JID IP Address Hostname Path 1 192.168.10.1 mail /jail/mail And host have normal internet ip. somebody have idea what`s wrong or some bug in rc with jail? thanks, Casper P.S. nsswitch.conf bug is still there, when you recompile src with "NO_NIS= true".