LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP Server? (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-server-755648/)

realchamp 09-16-2009 10:45 AM

FTP Server?
 
Hello.

I recently installed Linux Ubuntu Server 9.04 32bit.

And I'd like to use FTP to upload some files I need for my servers.

I was wondering, how to?

I have that vsftpd, to be honest I don't like it. Well anyways, I can connect to the with an anonymous account. But how can I delete that one and make my root user having access to all files? Or just a specified directory.


- realchamp.



ps. If anyone has any recommendations on other FTP solutions, let me know!

TB0ne 09-16-2009 11:18 AM

Quote:

Originally Posted by realchamp (Post 3685310)
Hello.

I recently installed Linux Ubuntu Server 9.04 32bit.

And I'd like to use FTP to upload some files I need for my servers.

I was wondering, how to?

I have that vsftpd, to be honest I don't like it. Well anyways, I can connect to the with an anonymous account. But how can I delete that one and make my root user having access to all files? Or just a specified directory.

- realchamp.

ps. If anyone has any recommendations on other FTP solutions, let me know!

Read the configuration page http://vsftpd.beasts.org/vsftpd_conf.html and set up your vsftpd as you want to. There are lots of how-tos on Google, also.

FTP Options? ProFTPD and wu-ftp are two that come to mind, but they're all only different in options and configuration. vsftpd is probably your best bet, though. Personally, I'd never use FTP, but use sftp instead, which is probably already running via the SSH daemon on your box..

walruz 09-16-2009 11:25 AM

Hey there, realchamp

There's a nice tutorial here. VSFTPd is a very nice FTP server, focusing on security & performance. The only drawback is the virtual users setup (which means, adding users that do not exist on the system through a database or similar) which can be very painful.
If you're going to use this ftp server only for you, vsftpd is the best choice. Anyway, you can still give a try to PureFTPd, with plenty of features (that you may or may not use).

Regarding your question of "access the ftp as root". Let me tell you that this is VERY unsafe and unless you know what you're doing, you don't want this. If you are 100% sure you want to do this, you may want to check this thread.. feel free to use the Search function of the forum before posting a question that may have been answered before.

You may want to read VSFTPd's documentation.

realchamp 09-16-2009 12:35 PM

Thanks for the inputs :)

How do I safe the .conf file?

prasanta 09-16-2009 12:38 PM

Quote:

How do I safe the .conf file?
Depends upon what editor you are using. :-)

Regards,

--
Prasanta

repo 09-16-2009 12:40 PM

Quote:

How do I safe the .conf file?
make sure to edit the file as root.

realchamp 09-16-2009 12:45 PM

Quote:

Originally Posted by prasanta (Post 3685478)
Depends upon what editor you are using. :-)

Regards,

--
Prasanta

I open the file with:
vi vsftpd.conf

prasanta 09-16-2009 12:55 PM

Quote:

I open the file with vi vsftpd.conf
Press <Escape>:wq

I hope you have edited the file when you are logged in as root as per the above post.


Regards,

--
Prasanta

realchamp 09-16-2009 01:50 PM

Quote:

Originally Posted by prasanta (Post 3685509)
Press <Escape>:wq

I hope you have edited the file when you are logged in as root as per the above post.


Regards,

--
Prasanta

Works :D


All times are GMT -5. The time now is 04:20 PM.