For some reason I can only log into an FTP with the default user for the Virtual Server. Trying to connect with an additional user for that VS won’t work. Here’s the report from FileZilla (I’ve replaced the username and domain for security):
Response: 331 Password required for user.domain
Command: PASS *****
Response: 530 Login incorrect.
Error: Critical error
Error: Could not connect to server
Can anyone help explain why? I’m hoping this is a common report from other users.
Is the username you’re using for that additional user the correct one? By default, additional usernames use the format “user.domain”. You can see the actual username to use in Virtualmin by clicking “Edit Users”.
What errors show up in the logs when you try logging in? You’d want to take a look at /var/log/messages, as well as either /var/log/secure or /var/log/auth.log, depending on your distro.
I found the answer! You were on the road to helping me though. I’ll post the solution here for everyone who ever has the same problem…
I looked at the log for proftpd here: /var/log/proftpd/proftpd.log
It showed me an error saying “Invalid shell: ‘/bin/false’”. In Webmin under Servers > ProFTPD Server > Authentication, for the field “Only allow login by users with valid shell?” change this to “no”.
Ah, it sounds like the user(s) may only setup for email.
You can tweak their shell so that they can log in by going into Edit Users, clicking the username, select “Other user permissions”, and then make sure that “Login permissions” is set to “Email and FTP”.