SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-21 17:30:03

serenity
Member
Registered: 2013-01-21
Posts: 3

Pure-ftpd problem

Hello my name is Alessio.

I would like to use my machine with slitaz as ftp server.

In past used (successfully)proftpd but I cannot see it among packages.

So I installed pure-ftpd (the only one avaivable?)after having added (I think correctly)user and group I run it.

But when I try to log in with filezilla client or a browser the error is:

Comando:    USER .....

Risposta:    331 User ..... OK. Password required

Comando:    PASS ****

Risposta:    530 Login authentication failed

Errore:    Errore grave

Errore:    Impossibile collegarsi al server

It would seem an error of insert correct username and/or password, but I can assure is not. I key them right.

Has someone a suggest?? thank you

Offline

#2 2013-01-23 17:31:47

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: Pure-ftpd problem

Hello,

I can't reproduce with slitaz 4 and pure-ftpd 1.0.35

Have you got any particular message in /var/log/messages ?

Looking up localhost

Trying localhost:21

Connected to localhost:21

220---------- Welcome to Pure-FTPd [privsep] ----------

220-You are user number 1 of 50 allowed.

220-Local time is now 18:19. Server port: 21.

220 You will be disconnected after 15 minutes of inactivity.

USER tux

331 User tux OK. Password required

PASS xxxx

230 OK. Current restricted directory is /

SYST

215 UNIX Type: L8

TYPE I

200 TYPE is now 8-bit binary

PWD

257 "/" is your current location

Loading directory listing / from server (LC_TIME=fr_FR)

PASV

227 Entering Passive Mode (127,0,0,1,202,174)

LIST -aL

150 Accepted data connection

226-Options: -a -l

226 25 matches total

Offline

#3 2013-01-23 19:32:04

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Pure-ftpd problem

If you setup ftp accounts using pure-pw database:

[c]# leafpad /etc/init.d/pure-ftpd[/c]

OPTIONS="-4 -H -A -B -j -l puredb:/etc/pureftpd.pdb"

leafpad => File/Save/File/Quit

Offline

#4 2013-01-24 10:48:58

serenity
Member
Registered: 2013-01-21
Posts: 3

Re: Pure-ftpd problem

Hello erjo, mojo thank you for repling me.

Nothing rilevant in /var/log/messages file.

Yes I added users using pure-pw.

I edited /etc/init.d/pure-ftpd and added the bolded string but nothing changes, same error.

Offline

#5 2013-01-24 16:15:52

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Pure-ftpd problem

Commit the database:

[c]# pure-pw mkdb[/c]

Verify the ftp user accounts are listed:

[c]# pure-pw list[/c]

Show a users permissions/details:

[c]# pure-pw show <login>[/c]

Shut down pure-ftpd:

[c]# /etc/init.d/pure-ftpd stop[/c]

Start pure-ftpd without init script:

[c]# /usr/sbin/pure-ftpd -4 -H -A -B -j -l puredb:/etc/pureftpd.pdb[/c]

The -l is a lowercase -L

Offline

#6 2013-01-24 20:42:09

serenity
Member
Registered: 2013-01-21
Posts: 3

Re: Pure-ftpd problem

Hello again. Now works!! But I really don't know what I was mistaking. In last two days I had used ALL the commands you have suggested(except "-j -l puredb:/etc/pureftpd.pdb", but today did not worked either that) with no result. Instead this evening everything works. Really thank you

I mark as solved

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]