Are you trying to ftp as root? Is not very recommended, but if this is the case you must edit /etc/ftpusers and comment “root” line. This file shows a list of “disallowed” users for ftp access (and root is disallowed by default)
i restarted inetd and when i type netstat -a , i can see that the ftp process is working
but the ftp connection still not working. it says that the username and pass are wrong.
user and pass = root
Did you see my previouse post?. Here it goes again:
Are you trying to ftp as root? Is not very recommended, but if this is the case you must edit /etc/ftpusers and comment “root” line. This file shows a list of “disallowed” users for ftp access (and root is disallowed by default)
read, /etc/ftpusers not inetd.conf.
inetd.conf just configures the inetd-daemon to use the “ftpd”-deamon for connections on port 21 (default). But ftpd does not read inetd.conf but /etc/ftpusers and ftpd.conf. If you commented or deleted root from /etc/ftpusers and still cannot log into your system you probably have a typo ^^.