Anonymous FTP server problem

I have tried settin up anonymous ftp on the RTP.
but, I met some problem.

My configguration follows;

#grep ftp /etc/passwd
ftp:x:14:80:FTP User:/home/ftp:

#grep ftp /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/ftpd in.ftpd -l

#grep ftp /etc/services
ftp 21/tcp
tftp 69/udp
sftp 115/tcp
ftp-data 20/tcp

#cat /etc/ftpusers

list of users disallowed any ftp access.

read by ftpd(8).

#root
uucp

#ls -al /home/ftp
total 20
drwxr-xr-x 5 ftp ftp 2048 Feb 18 21:27 .
drwxrwxr-x 9 root root 2048 Feb 18 21:11 …
drwxrwxr-x 2 root root 2048 Feb 18 21:42 bin
dr-xr-xr-x 2 root root 2048 Feb 18 21:43 etc
drwxrwxrwx 2 ftp ftp 2048 Feb 18 21:29 pub

#ls -al /home/ftp/bin
total 46
drwxrwxr-x 2 root root 2048 Feb 18 21:42 .
drwxr-xr-x 5 ftp ftp 2048 Feb 18 21:27 …
—x–x–x 1 root root 19144 Jun 22 2001 ls

#ls -al /home/ftp/etc
total 10
dr-xr-xr-x 2 root root 2048 Feb 18 21:43 .
drwxr-xr-x 5 ftp ftp 2048 Feb 18 21:27 …
-r–r–r-- 1 root root 206 Feb 18 21:16 group
-r–r–r-- 1 root root 494 Feb 18 21:40 passwd

and then,

#ftp localhost
Connected to localhost.localdomain.
220 rtp FTP server (Version 5.60) ready.
Name (localhost:root): anonymous
331 Guest login ok, send ident as password.
Password:
500 Can’t set guest privileges. Connection closed.
Login failed.
421 Service not available, remote server has closed connection
ftp>

What is matter?

How can I configure anonymous FTP?

Thanks for your regarding!

\


Gi-Hyun Lim System Team / Research Engineer
RT Solutions Inc.
hmetal@rtsolutions.co.kr
Make a more Funny World


“hmetal” <hmetal@rtsolutions.co.kr> wrote in
news:a4svsf$4ss$1@inn.qnx.com:

I have tried settin up anonymous ftp on the RTP.
but, I met some problem.

My configguration follows;

#grep ftp /etc/passwd
ftp> :x:> 14:80:FTP User:/home/ftp:

Where is your /etc/shadow file?

\
> #ls -al /home/ftp > total 20 > drwxr-xr-x 5 ftp ftp 2048 Feb 18 21:27 . > drwxrwxr-x 9 root root 2048 Feb 18 21:11 .. > drwxrwxr-x 2 root root 2048 Feb 18 21:42 bin > dr-xr-xr-x 2 root root 2048 Feb 18 21:43 etc > drwxrwxrwx 2 ftp ftp 2048 Feb 18 21:29 pub

You may want to change the ownership of bin and etc in the /home/ftp
directory. This should be part of your problem but a suggestion in terms
of permission control.



What is matter?

How can I configure anonymous FTP?

A quick google search led me to

http://www.cert.org/tech_tips/anonymous_ftp_config.html

It offers some good advice for setting up an anon. ftp server.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>