From owner-freebsd-isp Wed Jan 28 15:47:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18276 for freebsd-isp-outgoing; Wed, 28 Jan 1998 15:47:31 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from netdev.comsys.com (netdev.comsys.com [192.94.236.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18267 for ; Wed, 28 Jan 1998 15:47:25 -0800 (PST) (envelope-from alex@comsys.com) From: alex@comsys.com Received: from alexhupp.comsys.com (173-222-23.ipt.aol.com [152.173.222.23]) by netdev.comsys.com (8.8.8/8.8.8) with SMTP id QAA26136; Wed, 28 Jan 1998 16:46:13 -0700 (MST) Message-ID: <34CFC336.7A5@comsys.com> Date: Wed, 28 Jan 1998 15:45:58 -0800 Reply-To: alex@comsys.com X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: Charlie & CC: freebsd-isp@FreeBSD.ORG Subject: Re: chroot References: <19980128161412.27904@wicked.eaznet.com.> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Put him in /etc/chroot, create a ~usr/bin/date ~usr/bin/ls, ls and date should have the same perms as the ~ftp/bin versions. Else recompile ftpd with internal support for ls and date. Alex Charlie & wrote: > > I have a customer who is somewhat objectionable to some of my other > customers. How do I use chroot to automatically set a users root directory to > his home directory everytime they telnet in? Do I create a file (ie:ush) that > executes the chroot command then the shell program (ie: /bin/sh) then change > all of my users to use the new shell (ush)? Is there a better way? > > Thanks in advance, > > Eddie