I had an ugly time trying to do an anonymous ftp install of cooker to a cooker 
box.

I added the suggested directives from the faq in /usr/share/doc/proftpd... and 
fixed the user and group names to match those set up by cooker.

An anonymous login fails.

[tarvid@dhcp-4-244 tarvid]$ ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.2.5 Server (hans) [dhcp-4-244.ls.net]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (localhost:tarvid): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
530 Login incorrect.
Login failed.

A login of a user will show /

ftp> cd /
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (127,0,0,1,132,33).
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 root     root            0 Oct 13 20:46 1
drwxr-xr-x   2 root     root         4096 Oct 13 20:50 bin
drwxr-xr-x   3 root     root         1024 Oct 16 22:34 boot
drwxr-xr-x   1 root     root            0 Jan  1  1970 dev
drwxr-xr-x  65 root     root         4096 Oct 17 03:01 etc
drwxr-xr-x   3 root     root         4096 Oct 17 02:21 home
drwxr-xr-x   2 root     root         4096 Oct 14 20:48 initrd
drwxr-xr-x   9 root     root         4096 Oct 13 20:46 lib
drwxr-xr-x   8 root     root         4096 Oct 14 19:45 mnt
drwxr-xr-x   2 root     root         4096 Aug 23  1999 opt
dr-xr-xr-x 124 root     root            0 Oct 16 18:33 proc
drwx------   8 root     root         4096 Oct 17 02:38 root
drwxr-xr-x   2 root     root         4096 Oct 13 21:29 sbin
drwxrwxrwt   9 root     root         4096 Oct 16 23:30 tmp
drwxr-xr-x  12 root     root         4096 Oct 13 20:21 usr
drwxr-xr-x  21 root     root         4096 Oct 13 20:49 var
226-Transfer complete.
226 Quotas off

I would lilke the following

login as root gives you everything

login as a user gives you your home directory and nothing else

login as anonymous gives you /var/ftp and nothing else

It would be lovely if a sample configuration file were in /usr/share/doc to do 
something like this.

Jim Tarvid



Reply via email to