Re: How to block "cd" for FTP users

1999-07-23 Thread Shao Zhang
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

Re: How to block "cd" for FTP users

1999-07-22 Thread Jeff Bachtel
If you do "man ftpd", and the ftpd you installed supports /etc/ftpchroot, you do NOT need to have separate copies of bins and libs I don't know how to do this with proftpd, or even if its possible with a default wuftpd, however it seems to work fine with obsd's ftpd, and probably beroftpd also. R

Re: How to block "cd" for FTP users

1999-07-22 Thread Patrick
On Thu, Jul 22, 1999 at 12:30:24PM +0100, F. Fernandez took time to write: > Jeff Bachtel wrote: > > > > Yes, you need to look into chroot'ing ftp users. Its fairly trivial with > > Proftpd and beroftpd, IIRC > > That method implies that every user has a small copy of /bin and > other stuff. I h

Re: How to block "cd" for FTP users

1999-07-22 Thread F. Fernandez
Jeff Bachtel wrote: > > Yes, you need to look into chroot'ing ftp users. Its fairly trivial with > Proftpd and beroftpd, IIRC That method implies that every user has a small copy of /bin and other stuff. I hoped that there would be a simpler method. :-( Thanks anyway. Fernando > On Thu, Jul 2

How to block "cd" for FTP users

1999-07-22 Thread F. Fernandez
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