pure-ftpd virtual user issue
All virtual users of pure-ftpd can't login although I configured them without any error message!
Login error message: Code:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Code:
mbnoimi-pc conf # apt-get install pure-ftpd |
Bump
|
Hi,
There is no "-lpuredb:/etc/pureftpd.pdb" among the other runtime options. As this looks like a debian box, have a look at this howto for details Regards |
Quote:
I tried to add it through but nothing changed! Code:
mbnoimi@mbnoimi-pc ~ $ sudo pure-pw mkdb |
Quote:
Code:
mbnoimi-pc mbnoimi # pure-pw useradd test1 -u ftpuser -d /home/ftpusers/test1 I want to use virtual users |
I'm not running Debian, but according to the howto, you need to disable PAM and (maybe) Unix auth
Also you have to create a symlink Code:
#cd /etc/pure-ftpd/auth |
Quote:
|
Quote:
Try to run it directly from CLI: Code:
/usr/sbin/pure-ftpd -l -j -x -X -C 3 -Y 0 -H -Ipuredb:/etc/pureftpd.pdb 5 -R -E -u 1000 -U 007:007 -A -O clf:/var/log/pure-ftpd/transfer.log -8 UTF-8 -c 10 -B |
Code:
mbnoimi-pc mbnoimi # /usr/sbin/pure-ftpd -l -j -x -X -C 3 -Y 0 -H -Ipuredb:/etc/pureftpd.pdb 5 -R -E -u 1000 -U 007:007 -A -O clf:/var/log/pure-ftpd/transfer.log -8 UTF-8 -c 10 -B |
My bad. I left an extra -l, sorry
Code:
/usr/sbin/pure-ftpd -j -x -X -C 3 -Y 0 -H -Ipuredb:/etc/pureftpd.pdb 5 -R -E -u 1000 -U 007:007 -A -O clf:/var/log/pure-ftpd/transfer.log -8 UTF-8 -c 10 -B |
Quote:
Code:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- |
Where is pureftpd.pdb located? Note that you need to use that location in /etc/pure-ftpd/conf/PureDB
Also, are you sure about the user/password? Change it with: Code:
pure-pw passwd test You can also run the server with less options and in debug mode to check virtual users. Use the correct location of pureftpd.pdb below: Code:
/usr/sbin/pure-ftpd -I puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R -d |
Quote:
Quote:
Code:
mbnoimi-pc mbnoimi # pure-pw passwd test Quote:
Code:
mbnoimi-pc mbnoimi # /usr/sbin/pure-ftpd -I puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R -d |
Quote:
Quote:
|
Quote:
Code:
mbnoimi-pc mbnoimi # /usr/sbin/pure-ftpd -I puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R -d |
All times are GMT -5. The time now is 10:24 PM. |