Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I've always used Debian 5 before where all packages worked for me without any issues but just today I got a new Debian 6 server as Debian 5 was discontinued.
On Debian 5, I just installed the ProFTPD server and it worked for all my users without me needing to change anything in the config.
But on Debian 6, this is not the case. It just gives me the following errors,
Code:
Error 530 - Login Incorrect
Or sometimes the connection times out
This is my /var/log/proftpd/proftpd.log
Code:
Feb 24 17:25:01 gsh proftpd[4757] MyServerName (MyAccessIP[MyAccessIP]): Preparing to chroot to directory '/home/2ndUser'
Feb 24 17:25:01 gsh proftpd[4757] MyServerName (MyAccessIP[MyAccessIP]): USER 2ndUser: Login successful.
Feb 24 17:25:05 gsh proftpd[4757] MyServerName (MyAccessIP[MyAccessIP]): FTP session closed.
Feb 24 17:27:36 gsh proftpd[4325] MyServerName: ProFTPD killed (signal 15)
Feb 24 17:27:36 gsh proftpd[4325] MyServerName: ProFTPD 1.3.3a standalone mode SHUTDOWN
Feb 24 17:27:38 gsh proftpd[4920] MyServerName: ProFTPD 1.3.3a (maint) (built Sun Nov 13 2011 22:40:44 UTC) standalone mode STARTUP
Feb 24 17:28:09 gsh proftpd[4980] MyServerName (MyAccessIP[MyAccessIP]): FTP session opened.
Feb 24 17:28:10 gsh proftpd[4980] MyServerName (MyAccessIP[MyAccessIP]): USER 1stUser (Login failed): Invalid shell: '/sbin/nologin'
Feb 24 17:28:11 gsh proftpd[4980] MyServerName (MyAccessIP[MyAccessIP]): FTP session closed.
I have seen that the Debian 6 proftpd.conf file exactly matches with the Debian 5 file but on Debian 6 it gives errors so the issue only seems to be in Debian 6 or proftpd version.
Debian 6 AMD64 is running 1.3.3a
Debian 5 32bit is running 1.3.1
I just created that user for test but I don't really know how to change the shell. Others should be working if shell had some issue. 2nd, 3rd and 4th FTP user all give same error except the first one. Rest of them time out while 1st user probably due to the shell gives 530 error.
Also, I see some weird file /etc/proftpd/blacklist.dat which I haven't seen before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.