PDA

View Full Version : [ubuntu] Ftp server



FiskFisk33
January 20th, 2009, 12:56 PM
I am running a 8.10 server and i want to set up a ftp server on it

what do i download?

ibutho
January 20th, 2009, 01:34 PM
Hi. You can install proftpd or vsftpd for an ftp server. Take a look here (http://www.ubuntugeek.com/settingup-an-ftp-server-on-ubuntu-with-proftpd.html) for a guide on setting up an ftp server using proftpd.

FiskFisk33
January 20th, 2009, 02:08 PM
thanx

how do i set up users?

HermanAB
January 20th, 2009, 05:23 PM
Just install either vsftpd or proftpd. You don't need to set up anything. They both work out of the box, just start the service and it should work. To create a 'ftp user' - simply create a new user account an the user will be able to access his 'home' directory. So if you want to use a special directory, just define it as the home directory.

Most FTP problems occur when people try to change the default configuration - don't do that - not at first anyway.

Cheers,

Herman

hyper_ch
January 20th, 2009, 05:23 PM
is there a compelling reason why you need a FTP server? I'd rather go for sftp/scp by using openssh-server, system accounts and mysecureshell to limit those users.

FiskFisk33
January 20th, 2009, 08:30 PM
yes there is a reason
i want people to be able to access the files of a bf2 server i run on it, and people are used to ftp


is there a way to make a users home folder /root/bf2 ?

HermanAB
January 20th, 2009, 08:36 PM
Just run the user wizard and set the home directory for the ftp user to what you want.

FiskFisk33
January 20th, 2009, 08:49 PM
yea, but when i set it to /root/bf2 it says that it is not allowed (yes i have the UI installed, i run it with startx)

how do i make a user the commandline way?
or atleast edit its home folder

ibutho
January 21st, 2009, 03:51 AM
Instead of putting shared or ftp files in roots home directory, you should put the files you wish to share in a location like /var/ftp.

FiskFisk33
January 21st, 2009, 04:30 AM
i have my bf2 server installed in /root/bf2 and i want people to be able to manage its files.