LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2009, 11:45 AM   #1
realchamp
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
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!
 
Old 09-16-2009, 12:18 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by realchamp View Post
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..
 
Old 09-16-2009, 12:25 PM   #3
walruz
Member
 
Registered: Aug 2009
Location: Buenos Aires
Distribution: Debian/GNU Linux
Posts: 35

Rep: Reputation: 17
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.
 
Old 09-16-2009, 01:35 PM   #4
realchamp
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the inputs

How do I safe the .conf file?
 
Old 09-16-2009, 01:38 PM   #5
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

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

Regards,

--
Prasanta
 
Old 09-16-2009, 01:40 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
How do I safe the .conf file?
make sure to edit the file as root.
 
Old 09-16-2009, 01:45 PM   #7
realchamp
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by prasanta View Post
Depends upon what editor you are using. :-)

Regards,

--
Prasanta
I open the file with:
vi vsftpd.conf
 
Old 09-16-2009, 01:55 PM   #8
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
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
 
Old 09-16-2009, 02:50 PM   #9
realchamp
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by prasanta View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 04:13 AM
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 05:20 AM
files not visible in ftp site (but present in the /var/ftp/folder of the server) dongrila Linux - Newbie 2 12-23-2007 11:09 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration