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?