Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 1997 22:46:49 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        Alberto Johnson <ajohnson@panama.c-com.net>, questions@freebsd.org
Subject:   Re: FTP inquiry
Message-ID:  <347B4749.72013791@giovannelli.it>
References:  <3.0.1.32.19971125135449.006d8b88@panama.c-com.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?347B4749.72013791>