Frustration Setting Up an FTP Server (pureftpd)

SpoonTech

Well-Known Member
Joined
Jan 19, 2011
Messages
360
Reaction score
0
Hi,

I am busy trying to setup an FTP server on my Ubuntu 11.10 machine (running Gnome 3).
I have installed PureFTPd and PureAdmin using the following instructions:
https://help.ubuntu.com/community/PureFTP

Now using a client, ie. Chrome / Filezilla etc. I can login to localhost using my ubuntu username and password fine, and everything works. Yet when i try access as a virtual user, the following happens.

Case 1: A virtual user joe that exists, with path /home/ftpusers/joe where joe and ftpusers have been set with chown to be owned by ftpusers and the group ftpgroup.

Code:
ftp localhost
Connected to localhost.localdomain.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 5 of 50 allowed.
220-Local time is now 18:17. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (localhost:steve): john
331 User john OK. Password required
Password:
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

Case 2: Repeating same procedure but for a user that does not exist.

Code:
ftp localhost
Connected to localhost.localdomain.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 4 of 50 allowed.
220-Local time is now 18:15. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (localhost:steve): john1234
331 User john1234 OK. Password required
Password:
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

The outcome for both is the same, so it seems as if the virtual users are not being recognised at all.
How can I fix this?

Regards.
 
SpoonTech

Share your config. I'm not sure I will be able to help but it will empower other people to maybe help you.
 
You do know that unknown users login as anonymous and email address as password.............
 
Just noticed .....................This is a private system - No anonymous login........
Fix that so anon can login. USERNAME anonymous
 
I don't want anonymous login!.. i want a user login, and then it will login to that users folder on the system.
 
use vsftpd, its somewhat of an unnofficial standard
 
Top
Sign up to the MyBroadband newsletter
X