Setting Up an FTP server

Associate
Joined
3 Oct 2006
Posts
2,304
Location
London
Hi,

I've spent the past few days scratching my head. I cannot for the life of me get my FTP server (proftpd on debian "sarge") to allow my virtual users to write or overwrite files under any circumstances.

Installation tutorial said:
------------------------------------------------------------------------------------------------
//First, let's download the latest pureftpd.

1) wget ftp://ftp.pureftpd.org/pub/pure-ftpd...-1.0.20.tar.gz
------------------------------------------------------------------------------------------------

// Lets untar it.

2) tar zxvf pure-ftpd-1.0.20.tar.gz

------------------------------------------------------------------------------------------------

// Ok, let's cd to pure-ftpd's dir.

3) cd pure-ftpd-1.0.20

------------------------------------------------------------------------------------------------

// Now let's configure it with puredb and ftpwho.

4) ./configure --with-puredb --with-ftpwho

------------------------------------------------------------------------------------------------

// Now let's compile it.

5) make

------------------------------------------------------------------------------------------------

// Just incase if everything is correct.

6) make check

------------------------------------------------------------------------------------------------

// And now let's install it.

7) make install

------------------------------------------------------------------------------------------------

8) You now would need to create two files:
/etc/pureftpd.pdb and /etc/pureftpd.passwd
Just find your favourite and create them.

------------------------------------------------------------------------------------------------

// Now let's create virtual users db.

9) pure-pw mkdb // Incase it dosen't work, you need to find it's location by typing whereis pure-pw.

------------------------------------------------------------------------------------------------

// Now, let's start the server

10) /usr/local/sbin/pure-ftpd -A -B -j -lpuredb:/etc/pureftpd.pdb &

------------------------------------------------------------------------------------------------

// Virtual users adding...

11) pure-pw useradd user -u nobody -d /home/user/folder -m

Anyone have any ideas what is up? Thanks in advance

Jon
 
Are you trying to login with user "nobody"? Does that user have write access to whatever you're trying to access?
 
Back
Top Bottom