Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First, I can login as a regular user fine. But, if I try to ftp to my computer and login as anonymous, this is what happens:
Code:
[wynd@machine ~]$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [machine]
Name (localhost:wynd): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
530 Please login with USER and PASS
ftp: bind: Address already in use
ftp> exit
221 Goodbye.
[wynd@machine ~]$
I have done some searching, and what I've found tells me there is probbaly something listening on port 21 besides the FTP daemon. I checked and there's nothing else. What could be the problem? My config is the default one.
I edited that file and commented out the line with "ftp" on it, and it still doesn't work. Does it need to be running through inetd for it to work like that, or will proftpd read it on its own?
Originally posted by Wynd I edited that file and commented out the line with "ftp" on it, and it still doesn't work. Does it need to be running through inetd for it to work like that, or will proftpd read it on its own?
Running thru inetd will or should work fine. That's how I have mine setup.
How are you trying to ftp, thru command from another machine, a windows machine or thru a client, etc?
Right now I am doing 'ftp localhost' from a command prompt. I am trying to run proftpd through inetd, and this is what I have done: changed "standalone" to "inetd" in /etc/proftpd.conf, and uncommented the ftp line in inetd.conf, and tried to run 'inetd' and '/etc/rc.d/rc.inet2' and neither will start the server - 'ps ax | grep inetd' shows nothing! What have I done wrong? I had it set up this way before...
K, I got it to work, the inetd problem was a syntax error in the config file, and I got anonymous FTP by adding the line "RequireValidShell no" as the first line in the anonymous section in proftpd.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.