Hello Everyone,
Hope somebody can help me setup my LAN ftp. I’ve chosen pure-ftp, but I have hard time configuting it. I can telnet to the ftp port (21) and have the welcome banner, but when I use the users that I created for ftp, I’m getting “Error 530 user cannot login”.
Ank3n wrote:
> I can telnet to the ftp port (21) and
> have the welcome banner, but when I use the users that I created for
> ftp, I’m getting “Error 530 user cannot login”.
maybe this is a stupid question, but: You say to telnet to the ftp port, what
happens if you FTP to the port, like:
220-Welcome to Pure-FTPd.
220-You are user number 1 of 10 allowed.
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:anken): user_ftp
331 User user_ftp OK. Password required
Password:
530 Login authentication failed
ftp: Login failed.
ftp>
I already created user_ftp using pure-ftpd command line. The password is correct.
On 09/25/2008 Ank3n wrote:
> I tried to paste my /etc/pure-ftp/pure-ftpd.conf file, but it seems
> that we are limited to 10000 characters. Please let me know how i
> could share my config file.
Post only the relevant stuff, i.e., remove the comments.
(i’m using the assumption that maybe you made a format mistake in the
password area of the config, so) try setting the password for one test user to
nothing/blank/zip/nada and see if that test user can then login just by giving
the ID and an “Enter” key stroke at the request for password…
or, try (temporarily) to allow anonymous login–if that works i’d guess the
rest of your non-authentication required config is super…if not, then you have
lots of config work to do…
i’m happy you didn’t post a >10,000 character config file…
a search (within the forum and google) for previous threads with the term
“pure-ftpd” in the subject line turns up the FACT that more than just you have
had trouble setting up a working server…i’ve not tried it myself and wish you
good luck…and, suggest your luck will increase directly proportional to the
amount of time you spend reading the man/info pages and those previous
threads/hits, see:
a. man pure-ftpd
b. info pure-ftpd
b. http://forums.opensuse.org/search.php?searchid=379443
c. http://www.google.dk/search?q=pure-ftp+problems
–
see caveat: http://tinyurl.com/6aagco
DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE 3.5.7, SUSE
Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon
Usually these ftp daemons use pam for authentication. Check in /var/log/messages that pam is being invoked. If it maybe you have not got the name of the service correct in /etc/pam.d. If it is being invoked, then you also have to check that it is using the right encryption method that matches /etc/shadow.
Sorry I can’t offer you more details. I haven’t used pure-ftpd for a while, I’ve been using vsftpd.