From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 23 20:06:18 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 6D47616A4CE for ; Sat, 23 Apr 2005 20:06:18 +0000 (GMT) Received: from esbens.latnet.lv (esbens.latnet.lv [159.148.19.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCFE43D46 for ; Sat, 23 Apr 2005 20:06:15 +0000 (GMT) (envelope-from kaspars@os.lv) Received: from localhost (localhost.localdomain [127.0.0.1]) by esbens.latnet.lv (Postfix) with ESMTP id 66C4811E33D for ; Sat, 23 Apr 2005 23:06:14 +0300 (EEST) Received: from esbens.latnet.lv ([127.0.0.1]) by localhost (esbens.latnet.lv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30842-06 for ; Sat, 23 Apr 2005 23:06:13 +0300 (EEST) Received: from os.lv (unknown [159.148.155.3]) by esbens.latnet.lv (Postfix) with SMTP id E9DEA11E27D for ; Sat, 23 Apr 2005 23:06:13 +0300 (EEST) Received: from 213.182.201.44 ([213.182.201.44]) by os.lv (WinRoute Pro 4.1) with SMTP; Sat, 23 Apr 2005 23:08:50 +0300 Message-ID: <426AAAE4.9070009@os.lv> Date: Sat, 23 Apr 2005 23:07:00 +0300 From: Kaspars 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-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at latnet.lv X-Mailman-Approved-At: Sun, 24 Apr 2005 12:04:34 +0000 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:06:18 -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".