Re: How to block "cd" for FTP users
I think most of ftp servers can do that. The config file should be something like ftpaccess.
For some ftp servers, you will need your /etc/passwd looks like something:
shao:x:1000:1000:Shao Zhang,,,:/home/shao/./:/bin/bash
notice the extra ./ in the home dir. It is used by the ftp server to do a chroot.
On Thu, Jul 22, 1999 at 11:53:26AM +0100, F. Fernandez wrote:
> Hi!
>
> Has anyone worked out a simple solution to block a FTP user from
> cd'ing out of their home directory? If so, witch FTP server is being
> used?
>
> Thanks in advance.
>
> Fernando
> --
> Fernando Fernandez
> http://despodata.pt/ddata/pessoal/ferdez.htm
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: