From owner-freebsd-isp Thu Jan 29 13:01:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19786 for freebsd-isp-outgoing; Thu, 29 Jan 1998 13:01:48 -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 NAA19737 for ; Thu, 29 Jan 1998 13:01:37 -0800 (PST) (envelope-from alex@comsys.com) From: alex@comsys.com Received: from alexhupp.comsys.com (166-57-97.ipt.aol.com [152.166.57.97]) by netdev.comsys.com (8.8.8/8.8.8) with SMTP id OAA28149; Thu, 29 Jan 1998 14:00:24 -0700 (MST) Message-ID: <34D0EDD6.1FB2@comsys.com> Date: Thu, 29 Jan 1998 13:00:06 -0800 Reply-To: alex@comsys.com X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: Adrian Filipi-Martin CC: freebsd-isp@FreeBSD.ORG Subject: Re: chroot References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-isp" Adrian, I'm sorry, "to the man with a hammer everything appears a nail." My solution does not address your telnet problem. We recently fixed a chroot problem with ftp, and not telnet. My mistake. We never allow any telnet access to our system for the general customer, so the telnet part of your message didn't register. There was an 'rsh' or restricted shell a while back... I don't see it on our recent systems though. Trial and error using .profile, .login, .cshrc, or globals for csh shell, /etc/csh.cshrc /etc/.csh.login might help. -Alex Adrian T. Filipi-Martin wrote: > > Hi, > I can find reference to /etc/ftpchroot, but not /etc/chroot. > Could you give me a pointer to the proper manpage? I cann't find one that > mentions it. > > thanks, > > Adrian > > On Wed, 28 Jan 1998 alex@comsys.com wrote: > > > 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 > > > > Adrian > -- > adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and > System Administrator --->>>| I could only have one OS for my computer, > Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... > http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/ 1111111