From owner-freebsd-questions Sat Feb 23 15:12:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from MX3.Netwood.net (mx3.netwood.net [209.247.184.13]) by hub.freebsd.org (Postfix) with ESMTP id A138237B416 for ; Sat, 23 Feb 2002 15:11:58 -0800 (PST) Received: from netwood.net (mail.netwood.net [209.247.184.35]) by MX3.Netwood.net (Postfix) with ESMTP id 3782A5D014; Sat, 23 Feb 2002 15:11:53 -0800 (PST) Received: from master [209.247.186.2] by netwood.net with ESMTP (SMTPD32-6.06) id A2FE174D013E; Sat, 23 Feb 2002 15:17:18 -0800 From: "Jonas Fornander" To: "'Morten Grunnet Buhl'" , Subject: RE: ssh within jail ? Date: Sat, 23 Feb 2002 15:16:44 -0800 Organization: Netwood Communications Message-ID: <00c401c1bcc0$28965c90$0800a8c0@master> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What do I have to do to define a jail in rc.conf? I have sshd_enable="YES" in rc.conf and the users can login with ssh and cd to anywhere on the system. I want the users to be jailed in their home directory when they use ssh. Is that possible? Jonas Fornander - System Administrator Netwood Communications, LLC - www.netwood.net Find out why we're better - 310-442-1530 > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of > Morten Grunnet Buhl > Sent: Saturday, February 23, 2002 5:05 AM > To: freebsd-questions@freebsd.org > Subject: Re: ssh within jail ? > > > On Sat, 23 Feb 2002, Len Conrad wrote: > > > Are there any special problems, or even is it possible, to > set up ssh > > in each jail? > - Nope, have not had any problem in that kind (I have 6 jails > running). > Just add sshd_enable="YES" in /etc/rc.conf in the jails you > want to have > sshd running in. > > BOL, Morten. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message