Date: Tue, 6 Aug 1996 21:43:04 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: "Neil C. Jensen" <njensen@salsa.habaneros.com> Cc: "'questions@freebsd.org'" <questions@freebsd.org> Subject: Re: chroot Message-ID: <Pine.BSI.3.94.960806214116.224G-100000@gdi.uoregon.edu> In-Reply-To: <01BB83A2.72DAC0A0@jalapeno.habaneros.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Try to wrap your lines at about column 72. On Tue, 6 Aug 1996, Neil C. Jensen wrote: > I'm running into some difficulties chroot'ing users, and the man pages > aren't explicit enough for a novice like myself :(. chroot is pretty simple tho. > I have tried the following so far; > > 1. using "/usr/sbin/chroot /user's_home_directory" as the login shell > gives a "permission denied" error. Have you checked the permissions on chroot? Mine are: -r-xr-xr-x 1 bin bin 8192 Jul 13 19:46 /usr/sbin/chroot* > 2. Then I tried using a script as the shell in the password file. The > script simply chrooted to the user's home directory, and I suid'd it to > hopefully overcome any permissions problems. Unfortunately, I still get > Permission Denied. What is the exact text of the error message? > I have already populate the chroot directory with the necessary /bin/sh > and a few other utilites to get goin. OK there. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960806214116.224G-100000>