Date: Sat, 3 Mar 2001 17:20:08 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "Bob Greene" <rgreene@tclme.org> Cc: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: Jail USER in HOME dir Message-ID: <000b01c0a406$322ad200$0500a8c0@gdmckee.local> References: <001001c0a351$4eae5420$0500a8c0@gdmckee.local> <3A9FFA36.59E83935@tclme.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tried chroot $HOME /bin/sh and it doesn't work Has anyone got any ideas? Gordon PS Please can you reply DIRECT? ----- Original Message ----- From: "Bob Greene" <rgreene@tclme.org> To: "G D McKee" <freebsd@gdmckee.com> Sent: Friday, March 02, 2001 7:53 PM Subject: Re: Jail USER in HOME dir > man chroot > > chroot changes the users root '/' directory so that a 'cd /' only goes > as far back as you specify. In your case, 'cd /' would effectively be > 'cd $HOME' and 'cd ..' would not exceed their $HOME. > > G D McKee wrote: > > > > Hi > > > > How can I stop a user leaving their home dir? > > > > Gordon > > PS Please can you reply direct as I am not currently subscribed to the > > mailing list > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Bob Greene > rgreene@TclMe.org > Pull my finger for my public key > > 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?000b01c0a406$322ad200$0500a8c0>