Date: Sat, 23 Feb 2002 15:16:44 -0800 From: "Jonas Fornander" <jonas@netwood.net> To: "'Morten Grunnet Buhl'" <nemo@rudiment.dk>, <freebsd-questions@freebsd.org> Subject: RE: ssh within jail ? Message-ID: <00c401c1bcc0$28965c90$0800a8c0@master> In-Reply-To: <Pine.LNX.4.31.0202231402370.19897-100000@rudiment.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c401c1bcc0$28965c90$0800a8c0>