From owner-freebsd-questions Tue Nov 25 12:49:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA26406 for questions-outgoing; Tue, 25 Nov 1997 12:49:25 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from www.giovannelli.it (www.giovannelli.it [194.184.65.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA25980 for ; Tue, 25 Nov 1997 12:46:44 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from giovannelli.it (ts2port8d.masternet.it [194.184.65.207]) by www.giovannelli.it (8.8.8/8.8.5) with ESMTP id VAA00919; Tue, 25 Nov 1997 21:50:16 +0100 (MET) Message-ID: <347B4749.72013791@giovannelli.it> Date: Tue, 25 Nov 1997 22:46:49 +0100 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Alberto Johnson , questions@freebsd.org Subject: Re: FTP inquiry References: <3.0.1.32.19971125135449.006d8b88@panama.c-com.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Alberto Johnson wrote: > > is there a way to keep a user on his home directory, where his html file > are, and prevent him from going out his home directory and start woundering > around. if this is not posible, at least deny him view (read) access to the > home directory structure. give a look (in the ports) at : 1) wuftp for leave any ftp user in his directory 2) rksh shell for telnet: >From the ksh man --- [...] A shell is restricted if the -r option is used or if either the basename of the name the shell is invoked with or the SHELL parameter match the pattern *r*sh (e.g., rsh, rksh, rpdksh, etc.). The following restrictions come into effect after the shell processes any profile and $ENV files: o the cd command is disabled o the SHELL, ENV and PATH parameters can't be changed o command names can't be specified with absolute or relative paths o the -p option of the command built-in can't be used o redirections that create files can't be used (i.e., >, >|, >>, <>) -- Regards... Gianmarco "Unix expert since yesterday" http://www2.masternet.it