Date: Wed, 28 Jan 1998 15:45:58 -0800 From: alex@comsys.com To: Charlie & <root@wicked.eaznet.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: chroot Message-ID: <34CFC336.7A5@comsys.com> References: <19980128161412.27904@wicked.eaznet.com.>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34CFC336.7A5>